From: solar Date: Sun, 16 May 2010 10:38:54 +0000 (+0000) Subject: tmpnam implemented by using tmpfile. X-Git-Tag: v0.5~80 X-Git-Url: https://pd.if.org/git/?p=pdclib;a=commitdiff_plain;h=9491125d4e428b554cae97c70d4cd824f4e9bd41 tmpnam implemented by using tmpfile. --- diff --git a/platform/example/functions/stdio/tmpnam.c b/functions/stdio/tmpnam.c similarity index 100% rename from platform/example/functions/stdio/tmpnam.c rename to functions/stdio/tmpnam.c diff --git a/platform/example_cygwin/functions/stdio/tmpnam.c b/platform/example_cygwin/functions/stdio/tmpnam.c deleted file mode 100644 index c4a0a4d..0000000 --- a/platform/example_cygwin/functions/stdio/tmpnam.c +++ /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 -#include - -#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