1 2 3 4 5 6 7 8 9 10 11 12 |
/* Prototypes for functions defined in xmalloc.c */ void *xmalloc (size_t n); void *xcalloc (size_t n, size_t s); void *xrealloc (void *p, size_t n); char *xstrdup (const char *p); /* POSIX prototypes - avoid compiler warnings with '-posix' */ int strncasecmp(const char *s1, const char *s2, size_t n); int snprintf(char *str, size_t size, const char *format, ...); FILE *popen(const char *command, const char *type); int pclose(FILE *stream); |