Mercurial > hg > xemacs-beta
diff 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 |
line wrap: on
line diff
--- a/src/nt.h Mon Aug 13 11:18:12 2007 +0200 +++ b/src/nt.h Mon Aug 13 11:19:21 2007 +0200 @@ -26,20 +26,14 @@ #ifndef INCLUDED_nt_h_ #define INCLUDED_nt_h_ +#include "syswindows.h" + #ifdef DEBUG_XEMACS #define DebPrint(stuff) _DebPrint stuff #else #define DebPrint(stuff) #endif -#define R_OK 4 -#define W_OK 2 -#ifdef X_OK -#undef X_OK -#endif -#define X_OK 1 -#define F_OK 0 - /* ------------------------------------------------------------------------- */ /* child_process.status values */ @@ -145,4 +139,12 @@ /* In process-nt.c */ extern int compare_env (const void *strp1, const void *strp2); +void mswindows_set_errno (unsigned long win32_error); +void mswindows_set_last_errno (void); + +void wait_for_termination (HANDLE pid); + +int mswindows_fstat (int handle, struct stat *buffer); +int mswindows_stat (const char * path, struct stat * buf); + #endif /* INCLUDED_nt_h_ */