# 2.11BSD#431 - /usr/include/assert.h

##### Macros

    _assert           X
    assert            X

       1: /*	assert.h	4.2	85/01/21	*/
       2:
       3: # ifndef NDEBUG
       4: # define _assert(ex)    {if (!(ex)){fprintf(stderr,"Assertion failed: file \"%s\", line %d\n", __FILE__, __LINE__);exit(1);}}
       5: # define assert(ex) _assert(ex)
       6: # else
       7: # define _assert(ex)
       8: # define assert(ex)
       9: # endif

#### Defined macros

_assert defined in line 7; used 27 times

- in line 5
- in /usr/src/usr.bin/refer/hunt1.c line 155-157(2)
- in /usr/src/usr.bin/refer/hunt2.c line 36, 79-80(2), 94, 122, 157, 204
- in /usr/src/usr.bin/refer/hunt6.c line 71
- in /usr/src/usr.bin/refer/inv1.c line 90-96(3), 105, 133-134(2)
- in /usr/src/usr.bin/refer/inv2.c line 55
- in /usr/src/usr.bin/refer/inv6.c line 26-28(2)
- in /usr/src/usr.bin/refer/what1.c line 107
- in /usr/src/usr.bin/refer/what3.c line 32, 47-50(3), 69
- in /usr/src/usr.bin/refer/what4.c line 53

assert defined in line 8; used 24 times

- in /usr/src/sbin/gt307/gt307.c line 106
- in /usr/src/usr.bin/patch/patch.c line 270, 660
- in /usr/src/usr.bin/patch/pch.c line 126, 394, 400, 426, 471, 719-720(2), 943, 951, 963
- in /usr/src/usr.bin/refer/hunt3.c line 42
- in /usr/src/usr.bin/refer/hunt7.c line 86-90(2)
- in /usr/src/usr.bin/refer/refer2.c line 45, 84, 110-111(2), 130, 139-143(3)

#### Usage of this include

assert.h used 12 times

- in /usr/src/games/snake/snake.h line 10
- in /usr/src/sbin/gt307/gt307.c line 31
- in /usr/src/usr.bin/patch/common.h line 36
- in /usr/src/usr.bin/refer/hunt1.c line 6
- in /usr/src/usr.bin/refer/hunt6.c line 6
- in /usr/src/usr.bin/refer/hunt7.c line 6
- in /usr/src/usr.bin/refer/hunt8.c line 6
- in /usr/src/usr.bin/refer/inv1.c line 6
- in /usr/src/usr.bin/refer/inv2.c line 6
- in /usr/src/usr.bin/refer/inv6.c line 6
- in /usr/src/usr.bin/refer/refer..c line 5
- in /usr/src/usr.bin/refer/what..c line 7

Last modified: 1986-12-15 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 590 |