-/* $Id$ */
-
/* tmpfile( void )
This file is part of the Public Domain C Library (PDCLib).
#ifndef REGTEST
-struct _PDCLIB_file_t * tmpfile( void )
+#include <errno.h>
+#include "_PDCLIB_glue.h"
+
+/* This is a stub implementation of tmpfile
+*/
+FILE* tmpfile( void )
{
- /* TODO: Implement */
+ errno = ENOTSUP;
return NULL;
}
#endif
#ifdef TEST
-#include <_PDCLIB_test.h>
+#include "_PDCLIB_test.h"
+#include <string.h>
-int main()
+int main( void )
{
- TESTCASE( NO_TESTDRIVER );
return TEST_RESULTS;
}
#endif
+