comparison src/nt.h @ 410:de805c49cfc1 r21-2-35

Import from CVS: tag r21-2-35
author cvs
date Mon, 13 Aug 2007 11:19:21 +0200
parents 501cfd01ee6d
children 697ef44129c6
comparison
equal deleted inserted replaced
409:301b9ebbdf3b 410:de805c49cfc1
24 /* #define FULL_DEBUG */ 24 /* #define FULL_DEBUG */
25 25
26 #ifndef INCLUDED_nt_h_ 26 #ifndef INCLUDED_nt_h_
27 #define INCLUDED_nt_h_ 27 #define INCLUDED_nt_h_
28 28
29 #include "syswindows.h"
30
29 #ifdef DEBUG_XEMACS 31 #ifdef DEBUG_XEMACS
30 #define DebPrint(stuff) _DebPrint stuff 32 #define DebPrint(stuff) _DebPrint stuff
31 #else 33 #else
32 #define DebPrint(stuff) 34 #define DebPrint(stuff)
33 #endif 35 #endif
34
35 #define R_OK 4
36 #define W_OK 2
37 #ifdef X_OK
38 #undef X_OK
39 #endif
40 #define X_OK 1
41 #define F_OK 0
42 36
43 /* ------------------------------------------------------------------------- */ 37 /* ------------------------------------------------------------------------- */
44 38
45 /* child_process.status values */ 39 /* child_process.status values */
46 enum { 40 enum {
143 int * is_cygnus_app); 137 int * is_cygnus_app);
144 138
145 /* In process-nt.c */ 139 /* In process-nt.c */
146 extern int compare_env (const void *strp1, const void *strp2); 140 extern int compare_env (const void *strp1, const void *strp2);
147 141
142 void mswindows_set_errno (unsigned long win32_error);
143 void mswindows_set_last_errno (void);
144
145 void wait_for_termination (HANDLE pid);
146
147 int mswindows_fstat (int handle, struct stat *buffer);
148 int mswindows_stat (const char * path, struct stat * buf);
149
148 #endif /* INCLUDED_nt_h_ */ 150 #endif /* INCLUDED_nt_h_ */