- Move source code from `trunk` into program root directory. - Update build files and include paths. - Note: Line endings standardised from `CRLF` > `LF`, so best to view diffs with whitespace changes hidden.
12 lines
155 B
C
12 lines
155 B
C
#include <stdio.h>
|
|
|
|
FILE *tmpfile(void) {
|
|
char name[FILENAME_MAX + 1];
|
|
|
|
if (!tmpnam(name)) {
|
|
return NULL;
|
|
}
|
|
|
|
return fopen(name, "wb+");
|
|
}
|