mirror of
https://github.com/opnsense/src.git
synced 2026-04-25 16:18:54 -04:00
Use the ".Rv" mdoc(7) macro where appropriate.
Reviewed by: ru
This commit is contained in:
parent
94ddc5afe9
commit
a2a0a4dc2a
6 changed files with 18 additions and 39 deletions
|
|
@ -179,12 +179,8 @@ locks may be safely used concurrently.
|
|||
.Pp
|
||||
Blocking on a section is interrupted by any signal.
|
||||
.Sh RETURN VALUES
|
||||
If successful, the
|
||||
.Fn lockf
|
||||
function returns 0.
|
||||
Otherwise, it returns -1, sets
|
||||
.Dv errno
|
||||
to indicate an error, and existing locks are not changed.
|
||||
.Rv -std lockf
|
||||
In the case of a failure, existing locks are not changed.
|
||||
.Sh ERRORS
|
||||
.Fn lockf
|
||||
will fail if:
|
||||
|
|
|
|||
|
|
@ -99,8 +99,16 @@ system call that is not available in
|
|||
.Bx 4.2 ,
|
||||
hence it should not be used if backward compatibility is needed.
|
||||
.Sh RETURN VALUES
|
||||
A 0 value indicates that the call succeeded.
|
||||
A \-1 value indicates that an invalid signal number has been supplied.
|
||||
.Rv -std siginterrupt
|
||||
.Sh ERRORS
|
||||
The
|
||||
.Fn siginterrupt
|
||||
call fails if:
|
||||
.Bl -tag -width Er
|
||||
.It Bq Er EINVAL
|
||||
.Fa sig
|
||||
is not a valid signal number.
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr sigaction 2 ,
|
||||
.Xr sigblock 2 ,
|
||||
|
|
|
|||
|
|
@ -59,13 +59,10 @@ Implementations may place restrictions on the setting of the flags in a capabili
|
|||
support for POSIX.1e interfaces and features is still under
|
||||
development at this time.
|
||||
.Sh RETURN VALUES
|
||||
Upon successful completion, this function shall return a value of zero.
|
||||
Otherwise, a value of -1 shall be returned, and
|
||||
.Ar errno
|
||||
shall be set to indicate the error.
|
||||
.Rv -std cap_set_flag
|
||||
The capability state identified by
|
||||
.Ar cap_p
|
||||
shall not be affected if the return value is -1.
|
||||
shall not be affected if the function fails.
|
||||
.Sh ERRORS
|
||||
If any of the following conditions occur, the
|
||||
.Fn cap_set_flag
|
||||
|
|
|
|||
|
|
@ -60,14 +60,11 @@ remain unchanged.
|
|||
support for POSIX.1e interfaces and features is still under
|
||||
development at this time.
|
||||
.Sh RETURN VALUES
|
||||
Upon successful completion, this function shall return a value of zero.
|
||||
Otherwise, a value of -1 shall be returned and
|
||||
.Ar errno
|
||||
shall be set to indicate the error.
|
||||
.Rv -std cap_set_proc
|
||||
Neither the state represented in the object identified by
|
||||
.Ar cap_p
|
||||
nor the capability state of the calling process shall be affected if the
|
||||
return value is -1.
|
||||
function fails.
|
||||
.Sh ERRORS
|
||||
If any of the following conditions occur, the
|
||||
.Fn cap_set_proc
|
||||
|
|
|
|||
|
|
@ -57,14 +57,7 @@ in the character array
|
|||
with a value of 1 meaning
|
||||
that the page is in-core.
|
||||
.Sh RETURN VALUES
|
||||
Upon successful completion,
|
||||
.Fn mincore
|
||||
returns 0 and
|
||||
.Fa vec
|
||||
is updated to reflect the page status. Otherwise a value of -1
|
||||
is returned and
|
||||
.Va errno
|
||||
is set to indicate the error.
|
||||
.Rv -std mincore
|
||||
.Sh ERRORS
|
||||
.Bl -tag -width Er
|
||||
.It Bq Er EINVAL
|
||||
|
|
|
|||
|
|
@ -91,19 +91,7 @@ A
|
|||
.Fa scale
|
||||
value of 0 disables profiling.
|
||||
.Sh RETURN VALUES
|
||||
If the
|
||||
.Fa scale
|
||||
value is nonzero and the buffer
|
||||
.Fa samples
|
||||
contains an illegal address,
|
||||
.Fn profil
|
||||
returns \-1,
|
||||
profiling is terminated and
|
||||
.Va errno
|
||||
is set appropriately.
|
||||
Otherwise
|
||||
.Fn profil
|
||||
returns 0.
|
||||
.Rv -std profil
|
||||
.Sh FILES
|
||||
.Bl -tag -width /usr/lib/gcrt0.o -compact
|
||||
.It Pa /usr/lib/gcrt0.o
|
||||
|
|
|
|||
Loading…
Reference in a new issue