diff options
Diffstat (limited to 'ports/unix/guts/tempnam.c')
-rw-r--r-- | ports/unix/guts/tempnam.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ports/unix/guts/tempnam.c b/ports/unix/guts/tempnam.c new file mode 100644 index 0000000..9b0257f --- /dev/null +++ b/ports/unix/guts/tempnam.c @@ -0,0 +1,18 @@ +/* + * Copyright (c) 2010 Wind River Systems; see + * guts/COPYRIGHT for information. + * + * static char * + * wrap_tempnam(const char *template, const char *pfx) { + * char * rc = NULL; + */ + /* let gcc know we ignored these on purpose */ + (void) template; + (void) pfx; + pseudo_diag("tempnam() is so ludicrously insecure as to defy implementation."); + errno = ENOMEM; + rc = NULL; + +/* return rc; + * } + */ |