36#define XCOM_XDR_FREE(proc, ptr) \
38 xcom_xdr_free((xdrproc_t)proc, (char *)(ptr)); \
47 void *retval =
malloc(size);
48 if (retval ==
nullptr) {
55 void *retval =
calloc(nmemb, size);
56 if (retval ==
nullptr) {
const char * p
Definition: ctype-mb.cc:1237
#define malloc(A)
Definition: lexyy.cc:914
void * calloc(size_t nbytes)
Definition: allocator_traits.h:73
static void * xcom_malloc(size_t size)
Definition: xcom_memory.h:46
void xcom_xdr_free(xdrproc_t f, char *p)
Definition: xcom_memory.cc:31
int oom_abort
Definition: xcom_base.cc:359
static void * xcom_calloc(size_t nmemb, size_t size)
Definition: xcom_memory.h:54
External Data Representation Serialization Routines.
bool_t(* xdrproc_t)(XDR *, void *,...)
Definition: xdr.h:143