Annotation of 43BSDReno/share/zoneinfo/stdlib.h, revision 1.1

1.1     ! root        1: #ifndef lint
        !             2: #ifndef NOID
        !             3: #ifndef STDLIB_H
        !             4: #define STDLIB_H
        !             5: static char    stdlibhid[] = "@(#)stdlib.h     4.5";
        !             6: #endif /* !defined STDLIB_H */
        !             7: #endif /* !defined NOID */
        !             8: #endif /* !defined lint */
        !             9: 
        !            10: #ifdef __STDC__
        !            11: #ifndef __GNUC__
        !            12: #define LOOK_FOR_STDLIB
        !            13: #endif /* !defined __GNUC__ */
        !            14: #endif /* defined __STDC__ */
        !            15: 
        !            16: #ifdef LOOK_FOR_STDLIB
        !            17: #undef LOOK_FOR_STDLIB
        !            18: 
        !            19: #ifdef STDLIB_RECURSING
        !            20: #include "/usr/include/stdlib.h"
        !            21: #else /* !defined STDLIB_RECURSING */
        !            22: #define STDLIB_RECURSING
        !            23: #include <stdlib.h>
        !            24: #undef STDLIB_RECURSING
        !            25: #endif /* !defined STDLIB_RECURSING */
        !            26: 
        !            27: #ifndef NULL
        !            28: /*
        !            29: ** Stupid Turbo C doesn't define NULL in stdlib.h
        !            30: */
        !            31: #include <stdio.h>
        !            32: #endif /* !defined NULL */
        !            33: 
        !            34: #else /* !defined LOOK_FOR_STDLIB */
        !            35: 
        !            36: /*
        !            37: ** size_t
        !            38: */
        !            39: 
        !            40: #include "sys/types.h"
        !            41: 
        !            42: #ifndef EXIT_SUCCESS
        !            43: #define EXIT_SUCCESS   0
        !            44: #endif /* !defined EXIT_SUCCESS */
        !            45: 
        !            46: #ifndef EXIT_FAILURE
        !            47: #define EXIT_FAILURE   1
        !            48: #endif /* !defined EXIT_FAILURE */
        !            49: 
        !            50: #ifndef NULL
        !            51: #include <stdio.h>
        !            52: #endif /* !defined NULL */
        !            53: 
        !            54: /*
        !            55: ** String conversion functions
        !            56: */
        !            57: 
        !            58: #include <math.h>
        !            59: 
        !            60: /*
        !            61: ** Memory management functions
        !            62: */
        !            63: 
        !            64: extern char *  calloc();
        !            65: extern char *  malloc();
        !            66: extern char *  realloc();
        !            67: 
        !            68: #ifdef USG
        !            69: extern void    free();
        !            70: #endif /* defined USG */
        !            71: 
        !            72: /*
        !            73: ** Communication with the environment
        !            74: */
        !            75: 
        !            76: extern char *  getenv();
        !            77: 
        !            78: #ifdef USG
        !            79: extern void    exit();
        !            80: #endif /* defined USG */
        !            81: 
        !            82: /*
        !            83: ** Searching and sorting functions
        !            84: */
        !            85: 
        !            86: #ifdef USG
        !            87: extern void    qsort();
        !            88: #endif /* defined USG */
        !            89: 
        !            90: #endif /* !defined LOOK_FOR_STDLIB */

unix.superglobalmegacorp.com

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