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