aboutsummaryrefslogtreecommitdiffstats
path: root/ports/unix/guts/tmpnam.c
blob: 190d260cb43824bbd3ff4a4e0b31a0f76587cecf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* 
 * Copyright (c) 2010 Wind River Systems; see
 * guts/COPYRIGHT for information.
 *
 * SPDX-License-Identifier: LGPL-2.1-only
 *
 * 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;
 * }
 */