Ignore:
Timestamp:
Aug 1, 2003, 8:42:12 AM (22 years ago)
Author:
zap
Message:

See ChangeLog.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/sys/errno.h

    • Property cvs2svn:cvs-rev changed from 1.6 to 1.7
    r493 r494  
    4747#define _SYS_ERRNO_H /* bird: emx */
    4848
    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
     51extern int *_errno (void);
     52#define errno (*_errno ())
     53#endif
     54
     55#ifndef __ASSEMBLER__
     56extern __const__ char * __const__ sys_errlist[];
     57extern __const__ int sys_nerr;
    5658#endif
    5759
     
    189191#endif /* _POSIX_SOURCE */
    190192
    191 #ifdef _KERNEL
    192 /* 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 */
    197193#endif
    198 
    199 #endif
Note: See TracChangeset for help on using the changeset viewer.