assert.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define assert(x)
#define compare(a, t, b)

Functions

void bad_assertion (char *file, int line, char *what) _NORETURN
void bad_compare (char *file, int line, int lhs, char *what, int rhs) _NORETURN


Define Documentation

#define assert x   ) 
 

Value:

((void)(!(x) ? bad_assertion(this_file, __LINE__, \
                        #x),0 : 0))

Definition at line 14 of file assert.h.

#define compare a,
t,
b   ) 
 

Value:

(!((a) t (b)) ? bad_compare(this_file, __LINE__, \
                                (a), #a " " #t " " #b, (b)) : (void) 0)

Definition at line 16 of file assert.h.

Referenced by arp_putdata(), check_file(), do_file(), eth_get_stat(), eth_ioctl(), eth_set_rec_conf(), FindMatches(), incr(), look(), main(), master(), mkdifferences(), print_table(), skip_lines(), sr_getchannel(), udp_put_data(), and uniq_lines().


Function Documentation

void bad_assertion char *  file,
int  line,
char *  what
 

Definition at line 317 of file inet.c.

References panic, panic0(), and printf.

void bad_compare char *  file,
int  line,
int  lhs,
char *  what,
int  rhs
 

Definition at line 328 of file inet.c.

References panic, panic0(), and printf.


Generated on Fri Apr 14 23:08:18 2006 for minix by  doxygen 1.4.6