bits.h File Reference
Go to the source code of this file.
Defines |
#define | error_ptr(error) ((void*)error) |
#define | hexdigit(x) (((x) <= '9') ? (x) - '0' : ((x) & 7) + 9) |
#define | is_error(ptr) ((unsigned long)ptr > (unsigned long)-4000L) |
#define | max(a, b) ((a) > (b) ? (a) : (b)) |
#define | min(a, b) ((a) < (b) ? (a) : (b)) |
Define Documentation
#define error_ptr |
( |
error |
|
) |
((void*)error) |
#define hexdigit |
( |
x |
|
) |
(((x) <= '9') ? (x) - '0' : ((x) & 7) + 9) |
#define is_error |
( |
ptr |
|
) |
((unsigned long)ptr > (unsigned long)-4000L) |
#define max |
( |
a, |
|
|
b |
|
) |
((a) > (b) ? (a) : (b)) |
#define min |
( |
a, |
|
|
b |
|
) |
((a) < (b) ? (a) : (b)) |