diff options
| author | schwarze <> | 2025-08-04 14:11:37 +0000 |
|---|---|---|
| committer | schwarze <> | 2025-08-04 14:11:37 +0000 |
| commit | 5a2842c24fa46be5dfa91f663185a741c07702be (patch) | |
| tree | 02a185d2fd865c9ec6a35a4c99c3f26c08e84a7b /src/lib/libc/stdlib | |
| parent | 9c2d928d0e135116a2626ae46eacea09ad785822 (diff) | |
| download | openbsd-5a2842c24fa46be5dfa91f663185a741c07702be.tar.gz openbsd-5a2842c24fa46be5dfa91f663185a741c07702be.tar.bz2 openbsd-5a2842c24fa46be5dfa91f663185a741c07702be.zip | |
Sort NAME, RETURN VALUES, ERRORS, and STANDARDS in the same order as SYNOPSIS.
Sort HISTORY chronologically.
No text change.
Diffstat (limited to 'src/lib/libc/stdlib')
| -rw-r--r-- | src/lib/libc/stdlib/mktemp.3 | 32 |
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 | |||
| 165 | on failure. | 165 | on failure. |
| 166 | The | 166 | The |
| 167 | .Fn mkstemp , | 167 | .Fn mkstemp , |
| 168 | .Fn mkostemp , | ||
| 169 | .Fn mkstemps , | 168 | .Fn mkstemps , |
| 169 | .Fn mkostemp , | ||
| 170 | and | 170 | and |
| 171 | .Fn mkostemps | 171 | .Fn mkostemps |
| 172 | functions return \-1 if no suitable file could be created. | 172 | functions return \-1 if no suitable file could be created. |
| @@ -255,9 +255,9 @@ of | |||
| 255 | The | 255 | The |
| 256 | .Fn mktemp , | 256 | .Fn mktemp , |
| 257 | .Fn mkstemp , | 257 | .Fn mkstemp , |
| 258 | .Fn mkostemp , | 258 | .Fn mkdtemp , |
| 259 | and | 259 | and |
| 260 | .Fn mkdtemp | 260 | .Fn mkostemp |
| 261 | functions may set | 261 | functions may set |
| 262 | .Va errno | 262 | .Va errno |
| 263 | to one of the following values: | 263 | to one of the following values: |
| @@ -320,8 +320,8 @@ function. | |||
| 320 | .Pp | 320 | .Pp |
| 321 | The | 321 | The |
| 322 | .Fn mkstemp , | 322 | .Fn mkstemp , |
| 323 | .Fn mkostemp , | ||
| 324 | .Fn mkstemps , | 323 | .Fn mkstemps , |
| 324 | .Fn mkostemp , | ||
| 325 | and | 325 | and |
| 326 | .Fn mkostemps | 326 | .Fn mkostemps |
| 327 | functions may also set | 327 | functions may also set |
| @@ -347,10 +347,10 @@ function. | |||
| 347 | .Xr tmpnam 3 | 347 | .Xr tmpnam 3 |
| 348 | .Sh STANDARDS | 348 | .Sh STANDARDS |
| 349 | The | 349 | The |
| 350 | .Fn mkstemp , | ||
| 350 | .Fn mkdtemp , | 351 | .Fn mkdtemp , |
| 351 | .Fn mkostemp , | ||
| 352 | and | 352 | and |
| 353 | .Fn mkstemp | 353 | .Fn mkostemp |
| 354 | functions conform to the | 354 | functions conform to the |
| 355 | .St -p1003.1-2024 | 355 | .St -p1003.1-2024 |
| 356 | specification. | 356 | specification. |
| @@ -368,9 +368,9 @@ it is no longer a part of the standard. | |||
| 368 | .Pp | 368 | .Pp |
| 369 | The | 369 | The |
| 370 | .Fn mkstemps , | 370 | .Fn mkstemps , |
| 371 | .Fn mkostemps , | 371 | .Fn mkdtemps , |
| 372 | and | 372 | and |
| 373 | .Fn mkdtemps | 373 | .Fn mkostemps |
| 374 | functions are non-standard and should not be used if portability is required. | 374 | functions are non-standard and should not be used if portability is required. |
| 375 | .Sh HISTORY | 375 | .Sh HISTORY |
| 376 | A | 376 | A |
| @@ -378,14 +378,14 @@ A | |||
| 378 | function appeared in | 378 | function appeared in |
| 379 | .At v7 . | 379 | .At v7 . |
| 380 | The | 380 | The |
| 381 | .Fn mkdtemp | ||
| 382 | function appeared in | ||
| 383 | .Ox 2.2 . | ||
| 384 | The | ||
| 385 | .Fn mkstemp | 381 | .Fn mkstemp |
| 386 | function appeared in | 382 | function appeared in |
| 387 | .Bx 4.3 . | 383 | .Bx 4.3 . |
| 388 | The | 384 | The |
| 385 | .Fn mkdtemp | ||
| 386 | function appeared in | ||
| 387 | .Ox 2.2 . | ||
| 388 | The | ||
| 389 | .Fn mkstemps | 389 | .Fn mkstemps |
| 390 | function appeared in | 390 | function appeared in |
| 391 | .Ox 2.3 . | 391 | .Ox 2.3 . |
