Changeset 494 for trunk/src/emx/include/sys/errno.h
- Timestamp:
- Aug 1, 2003, 8:42:12 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/include/sys/errno.h
-
Property cvs2svn:cvs-rev
changed from
1.6
to1.7
r493 r494 47 47 #define _SYS_ERRNO_H /* bird: emx */ 48 48 49 #if !defined(_KERNEL) && !defined(__ASSEMBLER__) && !defined(_ERRNO) /* bird: emx */ 50 #include <sys/cdefs.h> 51 __BEGIN_DECLS 52 #define _ERRNO /* bird: emx */ 53 extern int * _errno(void); /* bird: emx */ 54 __END_DECLS 55 #define errno (* _errno()) /* bird: emx */ 49 #if !defined (_ERRNO) && !defined (__ASSEMBLER__) 50 #define _ERRNO 51 extern int *_errno (void); 52 #define errno (*_errno ()) 53 #endif 54 55 #ifndef __ASSEMBLER__ 56 extern __const__ char * __const__ sys_errlist[]; 57 extern __const__ int sys_nerr; 56 58 #endif 57 59 … … 189 191 #endif /* _POSIX_SOURCE */ 190 192 191 #ifdef _KERNEL192 /* pseudo-errors returned inside kernel to modify return to process */193 #define ERESTART (-1) /* restart syscall */194 #define EJUSTRETURN (-2) /* don't modify regs, just return */195 #define ENOIOCTL (-3) /* ioctl not handled by this layer */196 #define EDIRIOCTL (-4) /* do direct ioctl in GEOM */197 193 #endif 198 199 #endif -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.