X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2Fstdio%2Ftmpnam.c;fp=platform%2Fexample%2Ffunctions%2Fstdio%2Ftmpnam.c;h=c4a0a4d968402848ae28bdde0e48d809caecb028;hb=e8945ee2684f5c8de0104ea183de2010ae72ffd5;hp=0000000000000000000000000000000000000000;hpb=47c487b59c2c2344fb0fb38baf2bb9acc54ebd0a;p=pdclib.old diff --git a/platform/example/functions/stdio/tmpnam.c b/platform/example/functions/stdio/tmpnam.c new file mode 100644 index 0000000..c4a0a4d --- /dev/null +++ b/platform/example/functions/stdio/tmpnam.c @@ -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 +#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