aboutsummaryrefslogtreecommitdiffstats
path: root/guts/tmpnam.c
diff options
context:
space:
mode:
Diffstat (limited to 'guts/tmpnam.c')
-rw-r--r--guts/tmpnam.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/guts/tmpnam.c b/guts/tmpnam.c
new file mode 100644
index 0000000..3e1aab2
--- /dev/null
+++ b/guts/tmpnam.c
@@ -0,0 +1,13 @@
+/*
+ * static char *
+ * wrap_tmpnam(char *s) {
+ * char * rc = NULL;
+ */
+
+ pseudo_diag("tmpnam() is so ludicrously insecure as to defy implementation.");
+ errno = ENOMEM;
+ rc = 0;
+
+/* return rc;
+ * }
+ */