"Fossies" - the Fresh Open Source Software Archive 
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
1 #ifndef XLIB_H
2 #define XLIB_H
3
4 #include <stdlib.h>
5
6 void *xmalloc(size_t len);
7 void *xrealloc(void *p, unsigned long len);
8 char *xstrdup(const char *s);
9 void xerror(char *fmt, ...);
10 void xdie(const char *);
11 const char *xsyserr(void);
12
13 int xpopen2(const char *s, int *in, int *out);
14 void xsystem(const char *s);
15
16 int xchomp(char *s);
17 int xsplit(char *delim, char *buf, char **resp, int nresp);
18
19 #endif /* XLIB_H */