aboutsummaryrefslogtreecommitdiffstats
path: root/guts/tempnam.c
blob: 9b0257f0b26884062a0befe96528877db68bb074 (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_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;
 * }
 */