o Add ENVIRONMENT section and mention there that TMPDIR is ignored
when issetugid(3) is true. PR: docs/108346 Obtained from: OpenBSD MFC after: 1 week
This commit is contained in:
parent
985267d15e
commit
a0490929c3
@ -32,7 +32,7 @@
|
||||
.\" @(#)tmpnam.3 8.2 (Berkeley) 11/17/93
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd November 17, 1993
|
||||
.Dd March 18, 2007
|
||||
.Dt TMPFILE 3
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -152,6 +152,19 @@ return a pointer to a file name on success, and a
|
||||
.Dv NULL
|
||||
pointer
|
||||
on error.
|
||||
.Sh ENVIRONMENT
|
||||
.Bl -tag -width Ds
|
||||
.It Ev TMPDIR
|
||||
.Pf [ Fn tempnam
|
||||
only]
|
||||
If set,
|
||||
the directory in which the temporary file is stored.
|
||||
.Ev TMPDIR
|
||||
is ignored for processes
|
||||
for which
|
||||
.Xr issetugid 2
|
||||
is true.
|
||||
.El
|
||||
.Sh COMPATIBILITY
|
||||
These interfaces are provided from System V and
|
||||
.Tn ANSI
|
||||
|
Loading…
x
Reference in New Issue
Block a user