]> pd.if.org Git - pdclib/commitdiff
tmpnam implemented by using tmpfile.
authorsolar <unknown>
Sun, 16 May 2010 10:38:54 +0000 (10:38 +0000)
committersolar <unknown>
Sun, 16 May 2010 10:38:54 +0000 (10:38 +0000)
functions/stdio/tmpnam.c [moved from platform/example/functions/stdio/tmpnam.c with 100% similarity]
platform/example_cygwin/functions/stdio/tmpnam.c [deleted file]

diff --git a/platform/example_cygwin/functions/stdio/tmpnam.c b/platform/example_cygwin/functions/stdio/tmpnam.c
deleted file mode 100644 (file)
index c4a0a4d..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-/* $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