Deleted Added
full compact
29c29
< .\" $FreeBSD: head/lib/libc/stdio/mktemp.3 252838 2013-07-05 20:24:50Z jilles $
---
> .\" $FreeBSD: head/lib/libc/stdio/mktemp.3 254151 2013-08-09 17:24:23Z jilles $
31c31
< .Dd July 5, 2013
---
> .Dd August 8, 2013
44a45,48
> .Ft int
> .Fn mkostemp "char *template" "int oflags"
> .Ft int
> .Fn mkostemps "char *template" "int suffixlen" "int oflags"
87a92,109
> .Fn mkostemp
> function
> is like
> .Fn mkstemp
> but allows specifying additional
> .Xr open 2
> flags (defined in
> .In fcntl.h ) .
> The permitted flags are
> .Dv O_APPEND ,
> .Dv O_DIRECT ,
> .Dv O_SHLOCK ,
> .Dv O_EXLOCK ,
> .Dv O_SYNC
> and
> .Dv O_CLOEXEC .
> .Pp
> The
89,91c111,118
< function acts the same as
< .Fn mkstemp ,
< except it permits a suffix to exist in the template.
---
> and
> .Fn mkostemps
> functions act the same as
> .Fn mkstemp
> and
> .Fn mkostemp
> respectively,
> except they permit a suffix to exist in the template.
95a123,124
> and
> .Fn mkostemps
97c126
< is told the length of the suffix string.
---
> are told the length of the suffix string.
113,114c142,143
< .Fn mkstemp
< and
---
> .Fn mkstemp ,
> .Fn mkostemp
115a145,146
> and
> .Fn mkostemps
123c154,156
< .Fn mkstemps
---
> .Fn mkostemp ,
> .Fn mkstemps ,
> .Fn mkostemps
135a169,183
> .Fn mkostemp
> and
> .Fn mkostemps
> functions
> may also set
> .Va errno
> to the following value:
> .Bl -tag -width Er
> .It Bq Er EINVAL
> The
> .Fa oflags
> argument is invalid.
> .El
> .Pp
> The
137c185,187
< .Fn mkstemps
---
> .Fn mkostemp ,
> .Fn mkstemps ,
> .Fn mkostemps
148,149c198,199
< .Fn mkstemp
< and
---
> .Fn mkstemp ,
> .Fn mkostemp ,
150a201,202
> and
> .Fn mkostemps
211a264
> .Fn mkostemp ,
213c266,268
< function does not conform to any standard.
---
> and
> .Fn mkostemps
> functions do not conform to any standard.
234a290,295
> The
> .Fn mkostemp
> and
> .Fn mkostemps
> functions appeared in
> .Fx 10.0 .
250a312,313
> or
> .Fn mkostemp