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