Annotation of coherent/f/usr/include/sys/utsname.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * /usr/include/sys/utsname.h
        !             3:  *
        !             4:  * Revised: Wed May 19 10:29:48 1993 CDT
        !             5:  */
        !             6: #ifndef        __SYS_UTSNAME_H__
        !             7: #define        __SYS_UTSNAME_H__
        !             8: 
        !             9: /*
        !            10:  * This header is defined in the POSIX.1 standard ISO/IEC 9945-1:1990, and as
        !            11:  * such client programs which include this header should not use any symbols
        !            12:  * which end in "_t".
        !            13:  */
        !            14: 
        !            15: /*
        !            16:  * The contents of this header are also defined by the provisions of binary
        !            17:  * compatibility standards such as the iBCS2 specification and the System V
        !            18:  * ABI. The visibility of certain symbols defined by those standards may be
        !            19:  * controlled by feature-test macros such as _SYSV3 for iBCS2, and _SYSV4 for
        !            20:  * System V, Release 4.
        !            21:  */
        !            22: 
        !            23: #include <common/feature.h>
        !            24: #include <common/ccompat.h>
        !            25: 
        !            26: 
        !            27: #if    _SYSV4 && ! _SYSV3
        !            28: # define       __SYS_NMLN      257
        !            29: #else
        !            30: # define       __SYS_NMLN      9
        !            31: #endif
        !            32: 
        !            33: 
        !            34: #if    !defined(_POSIX_SOURCE)
        !            35: # define       SYS_NMLN        __SYS_NMLN
        !            36: #endif
        !            37: 
        !            38: struct utsname {
        !            39:        char            sysname [__SYS_NMLN];
        !            40:        char            nodename [__SYS_NMLN];
        !            41:        char            release [__SYS_NMLN];
        !            42:        char            version [__SYS_NMLN];
        !            43:        char            machine [__SYS_NMLN];
        !            44: };
        !            45: 
        !            46: __EXTERN_C_BEGIN__
        !            47: 
        !            48: int            uname           __PROTO ((struct utsname * _name));
        !            49: 
        !            50: __EXTERN_C_END__
        !            51: 
        !            52: #endif /* ! defined (__SYS_UTSNAME_H__) */

unix.superglobalmegacorp.com

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