diff lib/xfreopen.h @ 12321:a5b7df5da800

xfreopen: new module, from coreutils * modules/xfreopen: New module. * lib/xfreopen.c: New file. * lib/xfreopen.h: New file. * MODULES.html.sh (File stream based Input/Output"): Add it.
author Jim Meyering <meyering@redhat.com>
date Thu, 19 Nov 2009 15:55:58 +0100 (2009-11-19)
parents
children
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/lib/xfreopen.h
@@ -0,0 +1,2 @@
+#include <stdio.h>
+void xfreopen (char const *filename, char const *mode, FILE *fp);