From 9ea58040fbf19137ad6d067d1c5e40d190632f59 Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Mon, 4 Aug 2025 14:11:37 +0000 Subject: Sort NAME, RETURN VALUES, ERRORS, and STANDARDS in the same order as SYNOPSIS. Sort HISTORY chronologically. No text change. --- src/lib/libc/stdlib/mktemp.3 | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'src') 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 @@ -.\" $OpenBSD: mktemp.3,v 1.3 2025/08/04 04:59:31 guenther Exp $ +.\" $OpenBSD: mktemp.3,v 1.4 2025/08/04 14:11:37 schwarze Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -33,11 +33,11 @@ .Sh NAME .Nm mktemp , .Nm mkstemp , -.Nm mkostemp , .Nm mkstemps , -.Nm mkostemps , .Nm mkdtemp , -.Nm mkdtemps +.Nm mkdtemps , +.Nm mkostemp , +.Nm mkostemps .Nd make temporary file name (unique) .Sh SYNOPSIS .In stdlib.h @@ -165,8 +165,8 @@ functions return a pointer to the template on success and on failure. The .Fn mkstemp , -.Fn mkostemp , .Fn mkstemps , +.Fn mkostemp , and .Fn mkostemps functions return \-1 if no suitable file could be created. @@ -255,9 +255,9 @@ of The .Fn mktemp , .Fn mkstemp , -.Fn mkostemp , +.Fn mkdtemp , and -.Fn mkdtemp +.Fn mkostemp functions may set .Va errno to one of the following values: @@ -320,8 +320,8 @@ function. .Pp The .Fn mkstemp , -.Fn mkostemp , .Fn mkstemps , +.Fn mkostemp , and .Fn mkostemps functions may also set @@ -347,10 +347,10 @@ function. .Xr tmpnam 3 .Sh STANDARDS The +.Fn mkstemp , .Fn mkdtemp , -.Fn mkostemp , and -.Fn mkstemp +.Fn mkostemp functions conform to the .St -p1003.1-2024 specification. @@ -368,9 +368,9 @@ it is no longer a part of the standard. .Pp The .Fn mkstemps , -.Fn mkostemps , +.Fn mkdtemps , and -.Fn mkdtemps +.Fn mkostemps functions are non-standard and should not be used if portability is required. .Sh HISTORY A @@ -378,14 +378,14 @@ A function appeared in .At v7 . The -.Fn mkdtemp -function appeared in -.Ox 2.2 . -The .Fn mkstemp function appeared in .Bx 4.3 . The +.Fn mkdtemp +function appeared in +.Ox 2.2 . +The .Fn mkstemps function appeared in .Ox 2.3 . -- cgit v1.2.3-55-g6feb