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

1.1     ! root        1: /* (-lgl
        !             2:  *     COHERENT Version 4.1.0
        !             3:  *     Copyright (c) 1982, 1993 by Mark Williams Company.
        !             4:  *     All rights reserved. May not be copied without permission.
        !             5:  -lgl) */
        !             6: /*
        !             7:  * assert.h
        !             8:  * C diagnostics header.
        !             9:  * Draft Proposed ANSI C Standard, Section 4.2, 12/7/88 draft.
        !            10:  */
        !            11: 
        !            12: #ifndef        __ASSERT_H__
        !            13: #define        __ASSERT_H__
        !            14: extern void    __assertfail();
        !            15: #endif
        !            16: 
        !            17: #undef assert
        !            18: 
        !            19: #if    NDEBUG
        !            20: #define        assert(p)       ((void)0)
        !            21: #else
        !            22: #define        assert(p)       ((p) ? (void)0 : __assertfail(#p, __FILE__, __LINE__))
        !            23: #endif
        !            24: 
        !            25: /* end of assert.h */

unix.superglobalmegacorp.com

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