]> pd.if.org Git - pdclib/blobdiff - platform/example_cygwin/functions/stdio/tmpnam.c
Compiling under Cygwin now.
[pdclib] / platform / example_cygwin / functions / stdio / tmpnam.c
diff --git a/platform/example_cygwin/functions/stdio/tmpnam.c b/platform/example_cygwin/functions/stdio/tmpnam.c
new file mode 100644 (file)
index 0000000..c4a0a4d
--- /dev/null
@@ -0,0 +1,31 @@
+/* $Id$ */
+
+/* tmpnam( char * )
+
+   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>
+#include <stdarg.h>
+
+#ifndef REGTEST
+
+char * tmpnam( char * s )
+{
+    /* TODO: Implement. */
+    return NULL;
+}
+
+#endif
+
+#ifdef TEST
+#include <_PDCLIB_test.h>
+
+int main( void )
+{
+    TESTCASE( NO_TESTDRIVER );
+    return TEST_RESULTS;
+}
+
+#endif