-/* $Id$ */
-
/* tmpfile( void )
This file is part of the Public Domain C Library (PDCLib).
#ifndef REGTEST
+#include "_PDCLIB_glue.h"
+
#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
-#include <_PDCLIB_glue.h>
-
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
generate the filename candidate, which is *also* platform-dependent.
*/
unsigned int random;
- fscanf( randomsource, "%u", &random );
+ fscanf( randomsource, "%u", &random );
sprintf( filename, "/tmp/%u.tmp", random );
/* Check if file of this name exists. Note that fopen() is a very weak
check, which does not take e.g. access permissions into account
#endif
#ifdef TEST
-#include <_PDCLIB_test.h>
+
+#include "_PDCLIB_test.h"
+
#include <string.h>
int main( void )
}
#endif
-