X-Git-Url: https://git.cworth.org/git?p=ttt;a=blobdiff_plain;f=src%2Fx.h;h=024d8c283885590596cfe566e6cb70747b23b2b6;hp=e3efdb8f0d89547c0350845e7eeeef41c743e464;hb=49f7f9e3dc198c3593021bff5514f19090a4834c;hpb=2cd70db8433cc9d02a4ca784190260889c835198 diff --git a/src/x.h b/src/x.h index e3efdb8..024d8c2 100644 --- a/src/x.h +++ b/src/x.h @@ -46,6 +46,9 @@ xrealloc (void *ptr, size_t size); FILE * xfdopen (int filedes, const char *mode); +FILE * +xfreopen (const char *path, const char *mode, FILE *stream); + char * xstrdup (const char *s);