libical

A simple ical library.
git clone git://r-36.net/libical
Log | Files | Refs | README | LICENSE

ind.h (546B)


      1 /*
      2  * Copy me if you can.
      3  * by 20h
      4  */
      5 
      6 #ifndef __IND_H__
      7 #define __IND_H__
      8 
      9 #include <stdio.h>
     10 #include <stdarg.h>
     11 #include <time.h>
     12 
     13 void die(char *fmt, ...);
     14 void edie(char *fmt, ...);
     15 void *reallocz(void *p, int l, int z);
     16 void *mallocz(int l, int z);
     17 void *memdup(void *p, int l);
     18 void *memdupz(void *p, int l);
     19 void *memdupcat(void *p, int lp, void *c, int lc);
     20 char *vsmprintf(char *fmt, va_list fmtargs, int size);
     21 char *smprintf(char *fmt, ...);
     22 
     23 char *readtoeoffd(int fd, int *len);
     24 
     25 char *sgets(char *s, int size, char **p);
     26 
     27 #endif
     28