|
dhcpd-pools
3.0
ISC dhcpd lease usage analyser
|
#include <alloca.h>#include <stddef.h>#include <stdlib.h>#include <stdint.h>#include "xalloc-oversized.h"

Go to the source code of this file.
Macros | |
| #define | safe_alloca(N) ((void) (N), NULL) |
| #define | malloca(N) mmalloca (N) |
| #define | freea free |
| #define | nmalloca(n, s) (xalloc_oversized (n, s) ? NULL : malloca ((n) * (s))) |
| #define | sa_alignof(type) offsetof (struct { char __slot1; type __slot2; }, __slot2) |
Enumerations | |
| enum | { sa_alignment_long = sa_alignof (long), sa_alignment_double = sa_alignof (double), sa_alignment_longdouble = sa_alignof (long double), sa_alignment_max, sa_increment = ((sizeof (int) + sa_alignment_max - 1) / sa_alignment_max) * sa_alignment_max } |
Functions | |
| void * | mmalloca (size_t n) |
| #define freea free |
Referenced by __add_to_environ(), clearenv(), mmalloca(), and rpl_stat().
| #define malloca | ( | N | ) | mmalloca (N) |
Referenced by __add_to_environ(), clearenv(), and rpl_stat().
| #define nmalloca | ( | n, | |
| s | |||
| ) | (xalloc_oversized (n, s) ? NULL : malloca ((n) * (s))) |
| #define sa_alignof | ( | type | ) | offsetof (struct { char __slot1; type __slot2; }, __slot2) |
| #define safe_alloca | ( | N | ) | ((void) (N), NULL) |
| anonymous enum |
| void* mmalloca | ( | size_t | n | ) |
1.8.13