summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/lockf.3
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/lockf.3
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/lockf.3')
-rw-r--r--lib/libc/gen/lockf.38
1 files changed, 2 insertions, 6 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:
OpenPOWER on IntegriCloud