tmpnam.3 (348238dbd42306d9fb5d89ab393b840572cfeb0f) | tmpnam.3 (1f325602e470231d230d79526e98c4000403ca41) |
---|---|
1.\" Copyright (c) 1988, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" the American National Standards Committee X3, on Information 6.\" Processing Systems. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 18 unchanged lines hidden (view full) --- 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)tmpnam.3 8.2 (Berkeley) 11/17/93 33.\" $FreeBSD$ 34.\" | 1.\" Copyright (c) 1988, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" the American National Standards Committee X3, on Information 6.\" Processing Systems. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 18 unchanged lines hidden (view full) --- 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)tmpnam.3 8.2 (Berkeley) 11/17/93 33.\" $FreeBSD$ 34.\" |
35.Dd March 18, 2007 | 35.Dd August 7, 2020 |
36.Dt TMPFILE 3 37.Os 38.Sh NAME 39.Nm tempnam , 40.Nm tmpfile , 41.Nm tmpnam 42.Nd temporary file routines 43.Sh LIBRARY --- 107 unchanged lines hidden (view full) --- 151return a pointer to a file name on success, and a 152.Dv NULL 153pointer 154on error. 155.Sh ENVIRONMENT 156.Bl -tag -width Ds 157.It Ev TMPDIR 158.Pf [ Fn tempnam | 36.Dt TMPFILE 3 37.Os 38.Sh NAME 39.Nm tempnam , 40.Nm tmpfile , 41.Nm tmpnam 42.Nd temporary file routines 43.Sh LIBRARY --- 107 unchanged lines hidden (view full) --- 151return a pointer to a file name on success, and a 152.Dv NULL 153pointer 154on error. 155.Sh ENVIRONMENT 156.Bl -tag -width Ds 157.It Ev TMPDIR 158.Pf [ Fn tempnam |
159and 160.Fn tmpfile |
|
159only] 160If set, 161the directory in which the temporary file is stored. 162.Ev TMPDIR 163is ignored for processes 164for which 165.Xr issetugid 2 166is true. --- 80 unchanged lines hidden --- | 161only] 162If set, 163the directory in which the temporary file is stored. 164.Ev TMPDIR 165is ignored for processes 166for which 167.Xr issetugid 2 168is true. --- 80 unchanged lines hidden --- |