mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Use ellipsis in the synopsis, and an appropriate explanation in
the text of the manual page. Suggested by: bde
This commit is contained in:
parent
6b94cd72da
commit
434f577807
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38930
|
@ -40,7 +40,7 @@
|
|||
.Sh SYNOPSIS
|
||||
.Fd #include <fcntl.h>
|
||||
.Ft int
|
||||
.Fn fcntl "int fd" "int cmd" "int arg"
|
||||
.Fn fcntl "int fd" "int cmd" "..."
|
||||
.Sh DESCRIPTION
|
||||
.Fn Fcntl
|
||||
provides for control over descriptors.
|
||||
|
@ -48,7 +48,11 @@ The argument
|
|||
.Fa fd
|
||||
is a descriptor to be operated on by
|
||||
.Fa cmd
|
||||
as follows:
|
||||
as described below. Depending on the value of
|
||||
.Fa cmd ,
|
||||
.Nm
|
||||
can take an additional third argument
|
||||
.Fa "int arg" .
|
||||
.Bl -tag -width F_GETOWNX
|
||||
.It Dv F_DUPFD
|
||||
Return a new descriptor as follows:
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
.Sh SYNOPSIS
|
||||
.Fd #include <fcntl.h>
|
||||
.Ft int
|
||||
.Fn open "const char *path" "int flags" "mode_t mode"
|
||||
.Fn open "const char *path" "int flags" "..."
|
||||
.Sh DESCRIPTION
|
||||
The file name specified by
|
||||
.Fa path
|
||||
|
@ -54,7 +54,11 @@ The
|
|||
argument may indicate the file is to be
|
||||
created if it does not exist (by specifying the
|
||||
.Dv O_CREAT
|
||||
flag), in which case the file is created with mode
|
||||
flag). In this case
|
||||
.Nm
|
||||
requires a third argument
|
||||
.Fa "mode_t mode" ,
|
||||
and the file is created with mode
|
||||
.Fa mode
|
||||
as described in
|
||||
.Xr chmod 2
|
||||
|
|
Loading…
Reference in a new issue