mktemp.3 (84306) | mktemp.3 (108037) |
---|---|
1.\" Copyright (c) 1989, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 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.\" @(#)mktemp.3 8.1 (Berkeley) 6/4/93 | 1.\" Copyright (c) 1989, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 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.\" @(#)mktemp.3 8.1 (Berkeley) 6/4/93 |
33.\" $FreeBSD: head/lib/libc/stdio/mktemp.3 84306 2001-10-01 16:09:29Z ru $ | 33.\" $FreeBSD: head/lib/libc/stdio/mktemp.3 108037 2002-12-18 12:45:11Z ru $ |
34.\" 35.Dd February 11, 1998 36.Dt MKTEMP 3 37.Os 38.Sh NAME 39.Nm mktemp 40.Nd make temporary file name (unique) 41.Sh LIBRARY --- 47 unchanged lines hidden (view full) --- 89.Pp 90The 91.Fn mkstemps 92function acts the same as 93.Fn mkstemp , 94except it permits a suffix to exist in the template. 95The template should be of the form 96.Pa /tmp/tmpXXXXXXsuffix . | 34.\" 35.Dd February 11, 1998 36.Dt MKTEMP 3 37.Os 38.Sh NAME 39.Nm mktemp 40.Nd make temporary file name (unique) 41.Sh LIBRARY --- 47 unchanged lines hidden (view full) --- 89.Pp 90The 91.Fn mkstemps 92function acts the same as 93.Fn mkstemp , 94except it permits a suffix to exist in the template. 95The template should be of the form 96.Pa /tmp/tmpXXXXXXsuffix . |
97The |
|
97.Fn mkstemps | 98.Fn mkstemps |
99function |
|
98is told the length of the suffix string. 99.Pp 100The 101.Fn mkdtemp 102function makes the same replacement to the template as in 103.Xr mktemp 3 104and creates the template directory, mode 0700. 105.Sh RETURN VALUES --- 141 unchanged lines hidden --- | 100is told the length of the suffix string. 101.Pp 102The 103.Fn mkdtemp 104function makes the same replacement to the template as in 105.Xr mktemp 3 106and creates the template directory, mode 0700. 107.Sh RETURN VALUES --- 141 unchanged lines hidden --- |