Annotation of coherent/a/usr/bob/korn/unistd.h, revision 1.1

1.1     ! root        1: /* unistd.h: misc. P1003.1 definitions */
        !             2: /* Based on a version by Terrence W. Holm */
        !             3: 
        !             4: #if ! _UNISTD_H
        !             5: #define        _UNISTD_H 1
        !             6: 
        !             7: #include <stddef.h>
        !             8: 
        !             9: /* doesn't really belong here, but the library function need it */
        !            10: /* todo: use _ARGS, _Void, _Const */
        !            11: #if __STDC__
        !            12: #define        ARGS(args)      args
        !            13: #define Void   void
        !            14: #define        Const   const
        !            15: #else
        !            16: #define        ARGS(args)      ()
        !            17: #define        Void    char
        !            18: #define        Const
        !            19: #endif
        !            20: 
        !            21: #include <io.h>                        /* POSIX IO functions */
        !            22: 
        !            23: /*  for access(2)  */
        !            24: 
        !            25: #define        R_OK    4
        !            26: #define        W_OK    2
        !            27: #define        X_OK    1
        !            28: #define        F_OK    0
        !            29: 
        !            30: /*  for lockf(2)  */
        !            31: 
        !            32: #define        F_ULOCK 0
        !            33: #define        F_LOCK  1
        !            34: #define        F_TLOCK 2
        !            35: #define        F_TEST  3
        !            36: 
        !            37: /*  for lseek(2)  */
        !            38: 
        !            39: #define        SEEK_SET        0
        !            40: #define        SEEK_CUR        1
        !            41: #define        SEEK_END        2
        !            42: 
        !            43: #define        IN_PATH "/usr/include"
        !            44: 
        !            45: char   *getcwd ARGS ((char *buf, size_t len));
        !            46: 
        !            47: #endif
        !            48: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.