feisty meow concerns codebase  2.140
Xw32defs.h
Go to the documentation of this file.
1 /* $XConsortium: Xw32defs.h,v 1.4 94/02/25 18:50:11 rws Exp $ */
2 
3 #ifndef _XW32DEFS_H
4 #define _XW32DEFS_H
5 
6 typedef char *caddr_t;
7 
8 #define access _access
9 #define alloca _alloca
10 #define chdir _chdir
11 #define chmod _chmod
12 #define close _close
13 #define creat _creat
14 #define dup _dup
15 #define dup2 _dup2
16 #define environ _environ
17 #define execl _execl
18 #define execle _execle
19 #define execlp _execlp
20 #define execlpe _execlpe
21 #define execv _execv
22 #define execve _execve
23 #define execvp _execvp
24 #define execvpe _execvpe
25 #define fdopen _fdopen
26 #define fileno _fileno
27 #define fstat _fstat
28 #define getcwd _getcwd
29 #define getpid _getpid
30 #define hypot _hypot
31 #define isascii __isascii
32 #define isatty _isatty
33 #define lseek _lseek
34 #define mkdir _mkdir
35 #define mktemp _mktemp
36 #define open _open
37 #define putenv _putenv
38 #define read _read
39 #define rmdir _rmdir
40 #define sleep(x) _sleep((x) * 1000)
41 #define stat _stat
42 #define sys_errlist _sys_errlist
43 #define sys_nerr _sys_nerr
44 #define umask _umask
45 #define unlink _unlink
46 #define write _write
47 
48 #define O_RDONLY _O_RDONLY
49 #define O_WRONLY _O_WRONLY
50 #define O_RDWR _O_RDWR
51 #define O_APPEND _O_APPEND
52 #define O_CREAT _O_CREAT
53 #define O_TRUNC _O_TRUNC
54 #define O_EXCL _O_EXCL
55 #define O_TEXT _O_TEXT
56 #define O_BINARY _O_BINARY
57 #define O_RAW _O_BINARY
58 
59 #define S_IFMT _S_IFMT
60 #define S_IFDIR _S_IFDIR
61 #define S_IFCHR _S_IFCHR
62 #define S_IFREG _S_IFREG
63 #define S_IREAD _S_IREAD
64 #define S_IWRITE _S_IWRITE
65 #define S_IEXEC _S_IEXEC
66 
67 #define F_OK 0
68 #define X_OK 1
69 #define W_OK 2
70 #define R_OK 4
71 
72 #endif
char * caddr_t
Definition: Xw32defs.h:6