libixp

git clone git://oldgit.suckless.org/libixp/
Log | Files | Refs | LICENSE

ixp_emalloc.3 (652B)


      1 .TH "IXP_EMALLOC" 3 "2010 Jun" "libixp Manual"
      2 
      3 .SH NAME
      4 .P
      5 ixp_emalloc, ixp_emallocz, ixp_erealloc, ixp_estrdup
      6 
      7 .SH SYNOPSIS
      8 .nf
      9   #include <ixp.h>
     10   
     11   void *ixp_emalloc(uint size);
     12   
     13   void *ixp_emallocz(uint size);
     14   
     15   void *ixp_erealloc(void *ptr, uint size);
     16   
     17   char *ixp_estrdup(const char *str);
     18 .fi
     19 
     20 .SH DESCRIPTION
     21 .P
     22 These functions act like their stdlib counterparts, but print
     23 an error message and exit the program if allocation fails.
     24 ixp_emallocz acts like ixp_emalloc but additionally zeros the
     25 result of the allocation.
     26 
     27 
     28 .\" man code generated by txt2tags 2.5 (http://txt2tags.sf.net)
     29 .\" cmdline: txt2tags -o- ixp_emalloc.man3
     30