summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2001-08-14 14:20:35 +0000
committeryar <yar@FreeBSD.org>2001-08-14 14:20:35 +0000
commitdeeb90994affa0d72956435908fb98b8f921fd12 (patch)
tree08bea27d2e4b9156ba4a754cb52c44a14ae702b0 /lib/libc/gen
parente7702d76b63591efac5034f032cc6070e03a4417 (diff)
downloadFreeBSD-src-deeb90994affa0d72956435908fb98b8f921fd12.zip
FreeBSD-src-deeb90994affa0d72956435908fb98b8f921fd12.tar.gz
Use the ".Rv" mdoc(7) macro where appropriate.
Reviewed by: ru
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/lockf.38
-rw-r--r--lib/libc/gen/siginterrupt.312
2 files changed, 12 insertions, 8 deletions
diff --git a/lib/libc/gen/lockf.3 b/lib/libc/gen/lockf.3
index a199c2f..236c49a 100644
--- a/lib/libc/gen/lockf.3
+++ b/lib/libc/gen/lockf.3
@@ -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:
diff --git a/lib/libc/gen/siginterrupt.3 b/lib/libc/gen/siginterrupt.3
index 2667252..4a3b4a4 100644
--- a/lib/libc/gen/siginterrupt.3
+++ b/lib/libc/gen/siginterrupt.3
@@ -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 ,
OpenPOWER on IntegriCloud