#include <assert.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <netdb.h>
#include "likely.hpp"
Go to the source code of this file.
◆ alloc_assert
#define alloc_assert |
( |
|
x | ) |
|
Value: do { \
fprintf (stderr, "FATAL ERROR: OUT OF MEMORY (%s:%d)\n", __FILE__, \
__LINE__); \
} \
} while (false)
Definition at line 146 of file err.hpp.
◆ EPROTO
◆ errno_assert
#define errno_assert |
( |
|
x | ) |
|
Value: do { \
fprintf (stderr, "%s (%s:%d)\n", errstr, __FILE__, __LINE__); \
} \
} while (false)
Definition at line 113 of file err.hpp.
◆ gai_assert
Value: do { \
const
char *errstr = gai_strerror (
x); \
fprintf (stderr, "%s (%s:%d)\n", errstr, __FILE__, __LINE__); \
} \
} while (false)
Definition at line 135 of file err.hpp.
◆ posix_assert
#define posix_assert |
( |
|
x | ) |
|
Value: do { \
fprintf (stderr, "%s (%s:%d)\n", errstr, __FILE__, __LINE__); \
} \
} while (false)
Definition at line 124 of file err.hpp.
◆ zmq_assert
Value: do { \
fprintf (stderr,
"Assertion failed: %s (%s:%d)\n", #
x, __FILE__, \
__LINE__); \
} \
} while (false)
Definition at line 102 of file err.hpp.