Annotation of 3BSD/cmd/lisp/types.h, revision 1.1

1.1     ! root        1: typedef        struct { int rrr[1]; } *        physadr;
        !             2: typedef        long            daddr_t;
        !             3: typedef char *         caddr_t;
        !             4: typedef        unsigned short  ino_t;
        !             5: typedef        long            time_t;
        !             6: typedef        int             label_t[10];
        !             7: typedef        short           dev_t;
        !             8: typedef        long            off_t;
        !             9: /* major part of a device */
        !            10: #define        major(x)        (int)(((unsigned)x>>8)&0377)
        !            11: 
        !            12: /* minor part of a device */
        !            13: #define        minor(x)        (int)(x&0377)
        !            14: 
        !            15: /* make a device number */
        !            16: #define        makedev(x,y)    (dev_t)(((x)<<8) | (y))

unix.superglobalmegacorp.com

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