aboutsummaryrefslogtreecommitdiffstats
path: root/ports/unix/guts/tmpnam.c
blob: 3fece5797da55a547a2aeaa3677eb319899872c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* 
 * Copyright (c) 2010 Wind River Systems; see
 * guts/COPYRIGHT for information.
 *
 * static char *
 * wrap_tmpnam(char *s) {
 *	char * rc = NULL;
 */

	/* let gcc know we're ignoring this */
	(void) s;
	pseudo_diag("tmpnam() is so ludicrously insecure as to defy implementation.");
	errno = ENOMEM;
	rc = NULL;

/*	return rc;
 * }
 */