X-Git-Url: https://git.cworth.org/git?p=ttt;a=blobdiff_plain;f=src%2Fx.h;h=64a18a22c2492d5727379258efb059d4e1d3b2e2;hp=3b7f208d324e10b2582040779c36d78f443b72d4;hb=95898262b4ce4a2a3d36f70a4e6cc8188decc142;hpb=2b99e82a84be5e2f626b4a43eb7fd82254a7ea87 diff --git a/src/x.h b/src/x.h index 3b7f208..64a18a2 100644 --- a/src/x.h +++ b/src/x.h @@ -45,11 +45,14 @@ xcalloc (size_t nmemb, size_t size); void * xrealloc (void *ptr, size_t size); +FILE * +xfopen (const char *path, const char *mode); + FILE * xfdopen (int filedes, const char *mode); void -xfreopen (const char *path, const char *mode, FILE *stream); +xdup2 (int oldfd, int newfd); char * xstrdup (const char *s);