ixp_emalloc(3)

ixp_emalloc3

Usage

#include <ixp.h>
void *ixp_emalloc(uint size);
void *ixp_emallocz(uint size);
void *ixp_erealloc(void *ptr, uint size);
char *ixp_estrdup(const char *str);

Overview

These functions act like their stdlib counterparts, but print an error message and exit the program if allocation fails. ixp_emallocz acts like ixp_emalloc but additionally zeros the result of the allocation.

Releases

Unchanged in 4 releases since Debian 8 (Jessie).

  1. 8–11

From libixp-dev 0.6~20121202+hg148-5 in Debian 11 (Bullseye). Parsed by carta from the page's man source.