summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorMike Pritchard <mpp@FreeBSD.org>2000-10-28 18:37:37 +0000
committerMike Pritchard <mpp@FreeBSD.org>2000-10-28 18:37:37 +0000
commitbeb64fb5ac32a9d2c80bd85b445c97e9d453fed8 (patch)
tree8356dc7622df8c7dfbd166e561ad9469a36856c2 /lib/libc
parent7c991abcbcc93eec6a1e410549ffa3e17a0d03a4 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/getcap.310
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libc/gen/getcap.3 b/lib/libc/gen/getcap.3
index 26b33bb2c371..8431a2261bc7 100644
--- a/lib/libc/gen/getcap.3
+++ b/lib/libc/gen/getcap.3
@@ -75,8 +75,9 @@
.Ft int
.Fn cgetclose "void"
.Sh DESCRIPTION
-.Fn Cgetent
-extracts the capability
+The
+.Fn cgetent
+function extracts the capability
.Fa name
from the database specified by the
.Dv NULL
@@ -472,7 +473,8 @@ are typically used to denote the end of strings; many applications
use `\e\|200' to represent a
.Dv NUL .
.Sh DIAGNOSTICS
-.Fn Cgetent ,
+The
+.Fn cgetent ,
.Fn cgetset ,
.Fn cgetmatch ,
.Fn cgetnum ,
@@ -481,6 +483,7 @@ use `\e\|200' to represent a
.Fn cgetfirst ,
and
.Fn cgetnext
+functions
return a value greater than or equal to 0 on success and a value less
than 0 on failure.
The
@@ -508,6 +511,7 @@ The
.Fn cgetstr ,
and
.Fn cgetustr
+functions
may fail and set
.Va errno
as follows: