summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2001-02-06 00:02:32 +0000
committerbde <bde@FreeBSD.org>2001-02-06 00:02:32 +0000
commit9f31431f3561409addc6f96cce2f05ad9e74de03 (patch)
treeda0430ee58630bf424cfd001182ba16748686c35
parent8f3c8fbf04bb4a2ab9e54065d0a44a63dfdc145a (diff)
downloadFreeBSD-src-9f31431f3561409addc6f96cce2f05ad9e74de03.zip
FreeBSD-src-9f31431f3561409addc6f96cce2f05ad9e74de03.tar.gz
Fixed C error(s) in synopsis.
-rw-r--r--lib/libc/posix1e/cap.32
-rw-r--r--lib/libc/posix1e/cap_to_text.32
-rw-r--r--lib/libc/posix1e/posix1e.31
-rw-r--r--lib/libposix1e/cap.32
-rw-r--r--lib/libposix1e/cap_to_text.32
-rw-r--r--lib/libposix1e/posix1e.31
6 files changed, 6 insertions, 4 deletions
diff --git a/lib/libc/posix1e/cap.3 b/lib/libc/posix1e/cap.3
index 81a9e5c..36752a1 100644
--- a/lib/libc/posix1e/cap.3
+++ b/lib/libc/posix1e/cap.3
@@ -35,7 +35,7 @@
.Nd introduction to the POSIX.1e Capability security API
.Sh SYNOPSIS
.Fd #include <sys/types.h>
-.Fd #include <sys/cap.h>
+.Fd #include <sys/capability.h>
.Sh DESCRIPTION
The POSIX.1e Capability interface allows processes to manipulate their
capability set, subject to capability manipulation restrictions imposed
diff --git a/lib/libc/posix1e/cap_to_text.3 b/lib/libc/posix1e/cap_to_text.3
index 881af03..779fb0b 100644
--- a/lib/libc/posix1e/cap_to_text.3
+++ b/lib/libc/posix1e/cap_to_text.3
@@ -37,7 +37,7 @@
.Fd #include <sys/types.h>
.Fd #include <sys/capability.h>
.Ft char *
-.Fn cap_to_text "cap_t cap_p" "size_t *len_p"
+.Fn cap_to_text "cap_t cap_p" "ssize_t *len_p"
.Sh DESCRIPTION
The
.Fn cap_to_text
diff --git a/lib/libc/posix1e/posix1e.3 b/lib/libc/posix1e/posix1e.3
index 40de11d..7c0e022 100644
--- a/lib/libc/posix1e/posix1e.3
+++ b/lib/libc/posix1e/posix1e.3
@@ -34,6 +34,7 @@
.Sh LIBRARY
.Lb libposix1e
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
.Fd #include <sys/acl.h>
.\" .Fd #include <sys/audit.h>
.Fd #include <sys/capability.h>
diff --git a/lib/libposix1e/cap.3 b/lib/libposix1e/cap.3
index 81a9e5c..36752a1 100644
--- a/lib/libposix1e/cap.3
+++ b/lib/libposix1e/cap.3
@@ -35,7 +35,7 @@
.Nd introduction to the POSIX.1e Capability security API
.Sh SYNOPSIS
.Fd #include <sys/types.h>
-.Fd #include <sys/cap.h>
+.Fd #include <sys/capability.h>
.Sh DESCRIPTION
The POSIX.1e Capability interface allows processes to manipulate their
capability set, subject to capability manipulation restrictions imposed
diff --git a/lib/libposix1e/cap_to_text.3 b/lib/libposix1e/cap_to_text.3
index 881af03..779fb0b 100644
--- a/lib/libposix1e/cap_to_text.3
+++ b/lib/libposix1e/cap_to_text.3
@@ -37,7 +37,7 @@
.Fd #include <sys/types.h>
.Fd #include <sys/capability.h>
.Ft char *
-.Fn cap_to_text "cap_t cap_p" "size_t *len_p"
+.Fn cap_to_text "cap_t cap_p" "ssize_t *len_p"
.Sh DESCRIPTION
The
.Fn cap_to_text
diff --git a/lib/libposix1e/posix1e.3 b/lib/libposix1e/posix1e.3
index 40de11d..7c0e022 100644
--- a/lib/libposix1e/posix1e.3
+++ b/lib/libposix1e/posix1e.3
@@ -34,6 +34,7 @@
.Sh LIBRARY
.Lb libposix1e
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
.Fd #include <sys/acl.h>
.\" .Fd #include <sys/audit.h>
.Fd #include <sys/capability.h>
OpenPOWER on IntegriCloud