]> pd.if.org Git - pdclib/blobdiff - functions/stdio/fgets.c
Added any files yet missing for stdio.h.
[pdclib] / functions / stdio / fgets.c
diff --git a/functions/stdio/fgets.c b/functions/stdio/fgets.c
new file mode 100644 (file)
index 0000000..203d3ff
--- /dev/null
@@ -0,0 +1,30 @@
+/* $Id$ */
+
+/* fgets( char *, int, FILE * );
+
+   This file is part of the Public Domain C Library (PDCLib).
+   Permission is granted to use, modify, and / or redistribute at will.
+*/
+
+#include <stdio.h>
+
+#ifndef REGTEST
+
+char * fgets( char * _PDCLIB_restrict s, int n, struct _PDCLIB_file_t * _PDCLIB_restrict stream )
+{
+    /* TODO: Implement. */
+    return NULL;
+}
+
+#endif
+
+#ifdef TEST
+#include <_PDCLIB_test.h>
+
+int main( void )
+{
+    TESTCASE( NO_TESTDRIVER );
+    return TEST_RESULTS;
+}
+
+#endif