X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fnt.h;h=60e6efd243ed76bc32516689739547bc92f354d2;hb=a858680c386500889ac6f2d6d47f392c8a743c01;hp=edc133336310d72aec82ac134c8f93af550ce60c;hpb=76759ab036458c54499a454399e19602b8ae6ce3;p=chise%2Fxemacs-chise.git.1 diff --git a/src/nt.h b/src/nt.h index edc1333..60e6efd 100644 --- a/src/nt.h +++ b/src/nt.h @@ -26,20 +26,15 @@ Boston, MA 02111-1307, USA. */ #ifndef INCLUDED_nt_h_ #define INCLUDED_nt_h_ +#include "syswindows.h" +#include "systime.h" /* because of struct utimbuf below */ + #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 */ @@ -111,6 +106,7 @@ extern LPBYTE nt_get_resource (char * key, LPDWORD type); void set_process_dir (const char * dir); time_t convert_time (FILETIME ft); +int mswindows_utime (Lisp_Object path, struct utimbuf *times); extern void init_ntproc (void); extern void term_ntproc (int unused); @@ -145,4 +141,12 @@ void mswindows_executable_type (const char * filename, int * is_dos_app, /* 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_ */