tmpnam.3 (588a200ce1e5c42fc09771659c6a1f9af0ee7857) | tmpnam.3 (0bada8603d59cf4f15ff6b20a27c4137b9c0abe6) |
---|---|
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 --- 53 unchanged lines hidden (view full) --- 62by the routine 63.Xr mkstemp 3 . 64The created file is unlinked before 65.Fn tmpfile 66returns, causing the file to be automatically deleted when the last 67reference to it is closed. 68The file is opened with the access value 69.Ql w+ . | 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 --- 53 unchanged lines hidden (view full) --- 62by the routine 63.Xr mkstemp 3 . 64The created file is unlinked before 65.Fn tmpfile 66returns, causing the file to be automatically deleted when the last 67reference to it is closed. 68The file is opened with the access value 69.Ql w+ . |
70The file is created in the directory determined by the environment variable 71.Ev TMPDIR 72if set. 73The default location if 74.Ev TMPDIR 75is not set is 76.Pa /tmp . |
|
70.Pp 71The 72.Fn tmpnam 73function 74returns a pointer to a file name, in the 75.Dv P_tmpdir 76directory, which 77did not reference an existing file at some indeterminate point in the --- 145 unchanged lines hidden --- | 77.Pp 78The 79.Fn tmpnam 80function 81returns a pointer to a file name, in the 82.Dv P_tmpdir 83directory, which 84did not reference an existing file at some indeterminate point in the --- 145 unchanged lines hidden --- |