Annotation of coherent/f/usr/include.78/stddef.h, revision 1.1

1.1     ! root        1: /* (-lgl
        !             2:  *     COHERENT Version 3.2
        !             3:  *     Copyright (c) 1982, 1993 by Mark Williams Company.
        !             4:  *     All rights reserved. May not be copied without permission.
        !             5:  -lgl) */
        !             6: /*
        !             7:  * stddef.h
        !             8:  * C common definition header.
        !             9:  * Draft Proposed ANSI C Standard, Section 4.1.5, 5/13/88 draft.
        !            10:  */
        !            11: 
        !            12: #ifndef        __STDDEF_H__
        !            13: #define        __STDDEF_H__
        !            14: 
        !            15: /* Types. */
        !            16: #ifndef        _PTRDIFF_T
        !            17: #define        _PTRDIFF_T
        !            18: #if    _LARGE
        !            19: typedef        long            ptrdiff_t;      /* pointer difference type      */
        !            20: #else
        !            21: typedef        int             ptrdiff_t;      /* pointer difference type      */
        !            22: #endif
        !            23: #endif
        !            24: 
        !            25: #ifndef        _SIZE_T
        !            26: #define        _SIZE_T
        !            27: typedef        unsigned int    size_t;         /* sizeof result type           */
        !            28: #endif
        !            29: 
        !            30: #ifndef        _WCHAR_T
        !            31: #define        _WCHAR_T
        !            32: typedef        char            wchar_t;        /* extended character set type  */
        !            33: #endif
        !            34: 
        !            35: /* Macros. */
        !            36: #ifndef        NULL
        !            37: #define        NULL    ((char *)0)             /* null pointer constant        */
        !            38: #endif
        !            39: #ifndef        Void
        !            40: #define        Void    char            /* Use "Void *" as generic pointer type */
        !            41: #endif
        !            42: 
        !            43: #define offsetof(s,id) ((size_t)&(((s *)0)->id))
        !            44:                                /* offset of member id in struct s      */
        !            45: 
        !            46: #endif
        !            47: 
        !            48: /* end of stddef.h */

unix.superglobalmegacorp.com

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