summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschwarze <>2025-08-04 14:11:37 +0000
committerschwarze <>2025-08-04 14:11:37 +0000
commit9ea58040fbf19137ad6d067d1c5e40d190632f59 (patch)
tree02a185d2fd865c9ec6a35a4c99c3f26c08e84a7b
parent7b953209fc9428200dcfd8307621b873589e11e2 (diff)
downloadopenbsd-9ea58040fbf19137ad6d067d1c5e40d190632f59.tar.gz
openbsd-9ea58040fbf19137ad6d067d1c5e40d190632f59.tar.bz2
openbsd-9ea58040fbf19137ad6d067d1c5e40d190632f59.zip
Sort NAME, RETURN VALUES, ERRORS, and STANDARDS in the same order as SYNOPSIS.
Sort HISTORY chronologically. No text change.
-rw-r--r--src/lib/libc/stdlib/mktemp.332
1 files changed, 16 insertions, 16 deletions
diff --git a/src/lib/libc/stdlib/mktemp.3 b/src/lib/libc/stdlib/mktemp.3
index e57ac77717..a967358164 100644
--- a/src/lib/libc/stdlib/mktemp.3
+++ b/src/lib/libc/stdlib/mktemp.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: mktemp.3,v 1.3 2025/08/04 04:59:31 guenther Exp $ 1.\" $OpenBSD: mktemp.3,v 1.4 2025/08/04 14:11:37 schwarze Exp $
2.\" 2.\"
3.\" Copyright (c) 1989, 1991, 1993 3.\" Copyright (c) 1989, 1991, 1993
4.\" The Regents of the University of California. All rights reserved. 4.\" The Regents of the University of California. All rights reserved.
@@ -33,11 +33,11 @@
33.Sh NAME 33.Sh NAME
34.Nm mktemp , 34.Nm mktemp ,
35.Nm mkstemp , 35.Nm mkstemp ,
36.Nm mkostemp ,
37.Nm mkstemps , 36.Nm mkstemps ,
38.Nm mkostemps ,
39.Nm mkdtemp , 37.Nm mkdtemp ,
40.Nm mkdtemps 38.Nm mkdtemps ,
39.Nm mkostemp ,
40.Nm mkostemps
41.Nd make temporary file name (unique) 41.Nd make temporary file name (unique)
42.Sh SYNOPSIS 42.Sh SYNOPSIS
43.In stdlib.h 43.In stdlib.h
@@ -165,8 +165,8 @@ functions return a pointer to the template on success and
165on failure. 165on failure.
166The 166The
167.Fn mkstemp , 167.Fn mkstemp ,
168.Fn mkostemp ,
169.Fn mkstemps , 168.Fn mkstemps ,
169.Fn mkostemp ,
170and 170and
171.Fn mkostemps 171.Fn mkostemps
172functions return \-1 if no suitable file could be created. 172functions return \-1 if no suitable file could be created.
@@ -255,9 +255,9 @@ of
255The 255The
256.Fn mktemp , 256.Fn mktemp ,
257.Fn mkstemp , 257.Fn mkstemp ,
258.Fn mkostemp , 258.Fn mkdtemp ,
259and 259and
260.Fn mkdtemp 260.Fn mkostemp
261functions may set 261functions may set
262.Va errno 262.Va errno
263to one of the following values: 263to one of the following values:
@@ -320,8 +320,8 @@ function.
320.Pp 320.Pp
321The 321The
322.Fn mkstemp , 322.Fn mkstemp ,
323.Fn mkostemp ,
324.Fn mkstemps , 323.Fn mkstemps ,
324.Fn mkostemp ,
325and 325and
326.Fn mkostemps 326.Fn mkostemps
327functions may also set 327functions may also set
@@ -347,10 +347,10 @@ function.
347.Xr tmpnam 3 347.Xr tmpnam 3
348.Sh STANDARDS 348.Sh STANDARDS
349The 349The
350.Fn mkstemp ,
350.Fn mkdtemp , 351.Fn mkdtemp ,
351.Fn mkostemp ,
352and 352and
353.Fn mkstemp 353.Fn mkostemp
354functions conform to the 354functions conform to the
355.St -p1003.1-2024 355.St -p1003.1-2024
356specification. 356specification.
@@ -368,9 +368,9 @@ it is no longer a part of the standard.
368.Pp 368.Pp
369The 369The
370.Fn mkstemps , 370.Fn mkstemps ,
371.Fn mkostemps , 371.Fn mkdtemps ,
372and 372and
373.Fn mkdtemps 373.Fn mkostemps
374functions are non-standard and should not be used if portability is required. 374functions are non-standard and should not be used if portability is required.
375.Sh HISTORY 375.Sh HISTORY
376A 376A
@@ -378,14 +378,14 @@ A
378function appeared in 378function appeared in
379.At v7 . 379.At v7 .
380The 380The
381.Fn mkdtemp
382function appeared in
383.Ox 2.2 .
384The
385.Fn mkstemp 381.Fn mkstemp
386function appeared in 382function appeared in
387.Bx 4.3 . 383.Bx 4.3 .
388The 384The
385.Fn mkdtemp
386function appeared in
387.Ox 2.2 .
388The
389.Fn mkstemps 389.Fn mkstemps
390function appeared in 390function appeared in
391.Ox 2.3 . 391.Ox 2.3 .