Asterisk - The Open Source Telephony Project
18.5.0
|
Compatibility functions for strsep and strtoq missing on Solaris. More...
#include "asterisk.h"
#include <ctype.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/types.h>
#include <dirent.h>
#include <unistd.h>
#include <fcntl.h>
#include "asterisk/utils.h"
Go to the source code of this file.
Macros | |
#define | ASTMM_LIBC ASTMM_IGNORE |
#define | POLL_SIZE 1024 |
Functions | |
void | closefrom (int n) |
uint64_t | htonll (uint64_t host64) |
uint64_t | ntohll (uint64_t net64) |
Compatibility functions for strsep and strtoq missing on Solaris.
.. and lots of other functions too.
Definition in file strcompat.c.
#define ASTMM_LIBC ASTMM_IGNORE |
Definition at line 28 of file strcompat.c.
#define POLL_SIZE 1024 |
Definition at line 41 of file strcompat.c.
Referenced by closefrom().
void closefrom | ( | int | n | ) |
Definition at line 429 of file strcompat.c.
References ast_random(), errno, len(), mkdtemp(), NULL, POLL_SIZE, and roundf().
Referenced by ast_close_fds_above_n().
uint64_t htonll | ( | uint64_t | host64 | ) |
Definition at line 390 of file strcompat.c.
Referenced by ast_websocket_write(), and iax_ie_append_versioned_uint64().
uint64_t ntohll | ( | uint64_t | net64 | ) |
Definition at line 364 of file strcompat.c.
References c.
Referenced by ast_websocket_read(), dump_versioned_codec(), and iax_parse_ies().