tmpnam.3 (79379) | tmpnam.3 (79754) |
---|---|
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 --- 20 unchanged lines hidden (view full) --- 29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34.\" SUCH DAMAGE. 35.\" 36.\" @(#)tmpnam.3 8.2 (Berkeley) 11/17/93 | 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 --- 20 unchanged lines hidden (view full) --- 29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34.\" SUCH DAMAGE. 35.\" 36.\" @(#)tmpnam.3 8.2 (Berkeley) 11/17/93 |
37.\" $FreeBSD: head/lib/libc/stdio/tmpnam.3 79379 2001-07-07 04:08:32Z mikeh $ | 37.\" $FreeBSD: head/lib/libc/stdio/tmpnam.3 79754 2001-07-15 07:53:42Z dd $ |
38.\" 39.Dd November 17, 1993 40.Dt TMPFILE 3 41.Os 42.Sh NAME 43.Nm tempnam , 44.Nm tmpfile , 45.Nm tmpnam --- 45 unchanged lines hidden (view full) --- 91is 92.Pf non- Dv NULL , 93the file name is copied to the buffer it references. 94Otherwise, the file name is copied to a static buffer. 95In either case, 96.Fn tmpnam 97returns a pointer to the file name. 98.Pp | 38.\" 39.Dd November 17, 1993 40.Dt TMPFILE 3 41.Os 42.Sh NAME 43.Nm tempnam , 44.Nm tmpfile , 45.Nm tmpnam --- 45 unchanged lines hidden (view full) --- 91is 92.Pf non- Dv NULL , 93the file name is copied to the buffer it references. 94Otherwise, the file name is copied to a static buffer. 95In either case, 96.Fn tmpnam 97returns a pointer to the file name. 98.Pp |
99The buffer referenced by | 99The buffer referenced by |
100.Fa str 101is expected to be at least 102.Dv L_tmpnam 103bytes in length. 104.Dv L_tmpnam 105is defined in the include file 106.Aq Pa stdio.h . 107.Pp --- 122 unchanged lines hidden --- | 100.Fa str 101is expected to be at least 102.Dv L_tmpnam 103bytes in length. 104.Dv L_tmpnam 105is defined in the include file 106.Aq Pa stdio.h . 107.Pp --- 122 unchanged lines hidden --- |