|
NAMEecalloc , emalloc ,
eread , erealloc ,
esetenv , estrdup ,
ewrite —
exit-on-failure wrapper functions
LIBRARYThe roken library (libroken, -lroken)SYNOPSIS#include <roken.h>
void *
void *
ssize_t
void *
void
char *
ssize_t
DESCRIPTIONThese functions do the same as the ones without the “e” prefix, but if there is an error they will print a message with errx(3), and exit. Foreread and ewrite
this is also true for partial data.
This is useful in applications when there is no need for a more advanced failure mode. SEE ALSOread(2), write(2), calloc(3), errx(3), malloc(3), realloc(3), setenv(3), strdup(3)
Visit the GSP FreeBSD Man Page Interface. |