aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@googlemail.com>2008-05-09 06:48:32 -0700
committerAndrew G. Morgan <morgan@kernel.org>2008-05-09 06:48:32 -0700
commit53c22f79ccf978317edca6fd33d7d7ab95d854bc (patch)
treec5741e1605501953c0756132def844ee7b4d22d0
parent4bf825144fb659019b1a8aaa57198315165aa7ec (diff)
downloadlibcap-53c22f79ccf978317edca6fd33d7d7ab95d854bc.tar.gz
More consistent link lines.
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
-rw-r--r--doc/cap_clear.34
-rw-r--r--doc/cap_copy_ext.35
-rw-r--r--doc/cap_from_text.35
-rw-r--r--doc/cap_get_file.35
-rw-r--r--doc/cap_get_proc.36
-rw-r--r--doc/cap_init.35
6 files changed, 12 insertions, 18 deletions
diff --git a/doc/cap_clear.3 b/doc/cap_clear.3
index 71a74ca..90250da 100644
--- a/doc/cap_clear.3
+++ b/doc/cap_clear.3
@@ -11,8 +11,8 @@ cap_clear, cap_get_flag, cap_set_flag \- capability data object manipulation
.BI "int cap_get_flag(cap_t " cap_p ", cap_value_t " cap ", cap_flag_t " flag ", cap_flag_value_t *" value_p ");"
.sp
.BI "int cap_set_flag(cap_t " cap_p ", cap_flag_t " flag ", int " ncap ", const cap_value_t *" caps ", cap_flag_value_t " value ");"
-.SH USAGE
-.B cc ... -lcap
+.sp
+Link with \fI-lcap\fP.
.SH DESCRIPTION
.BR cap_clear ()
initializes the capability state in working storage identified by
diff --git a/doc/cap_copy_ext.3 b/doc/cap_copy_ext.3
index 3686254..9e36955 100644
--- a/doc/cap_copy_ext.3
+++ b/doc/cap_copy_ext.3
@@ -12,9 +12,8 @@ cap_copy_ext, cap_size, cap_copy_int \- capability state external representation
.BI "ssize_t cap_copy_ext(void *" ext_p ", cap_t " cap_p ", ssize_t " size );
.sp
.BI "cap_t cap_copy_int(const void *" ext_p );
-.SH USAGE
-.br
-.B cc ... -lcap
+.sp
+Link with \fI-lcap\fP.
.SH DESCRIPTION
These functions translate a capability state from an internal representation
into an external one. The external representation is an exportable, contiguous,
diff --git a/doc/cap_from_text.3 b/doc/cap_from_text.3
index 146bbdc..a8a255c 100644
--- a/doc/cap_from_text.3
+++ b/doc/cap_from_text.3
@@ -14,9 +14,8 @@ cap_from_text, cap_to_text, cap_to_name, cap_from_name \- capability state textu
.BI "int cap_from_text(const char *" name ", cap_value_t *" cap_p );
.sp
.BI "char *cap_to_text(cap_value_t " cap );
-.SH USAGE
-.br
-.B cc ... -lcap
+.sp
+Link with \fI-lcap\fP.
.SH DESCRIPTION
These functions translate a capability state from an internal representation
into a textual one. The internal representation is managed by the capability
diff --git a/doc/cap_get_file.3 b/doc/cap_get_file.3
index 2092a85..e0dbdc3 100644
--- a/doc/cap_get_file.3
+++ b/doc/cap_get_file.3
@@ -19,9 +19,8 @@ cap_get_file, cap_set_file, cap_get_fd, cap_set_fd \- capability manipulation on
.BI "cap_t cap_get_fd(int " fd );
.sp
.BI "int cap_set_fd(int " fd ", cap_t " caps );
-.SH USAGE
-.br
-.B cc ... -lcap
+.sp
+Link with \fI-lcap\fP.
.SH DESCRIPTION
.BR cap_get_file ()
and
diff --git a/doc/cap_get_proc.3 b/doc/cap_get_proc.3
index 51d796c..cfffaf2 100644
--- a/doc/cap_get_proc.3
+++ b/doc/cap_get_proc.3
@@ -22,10 +22,8 @@ arbitrary processes
.BI "cap_t capgetp(pid_t " pid ", cap_t " cap_d );
.br
.BI "cap_t capsetp(pid_t " pid ", cap_t " cap_d );
-
-.SH USAGE
-.br
-.B cc ... -lcap
+.sp
+Link with \fI-lcap\fP.
.SH DESCRIPTION
.BR cap_get_proc ()
allocates a capability state in working storage, sets its state to
diff --git a/doc/cap_init.3 b/doc/cap_init.3
index 2d87bfc..0921dc3 100644
--- a/doc/cap_init.3
+++ b/doc/cap_init.3
@@ -13,9 +13,8 @@ cap_init, cap_free, cap_dup \- capability data object storage management
.BI "int cap_free(void *" obj_d );
.sp
.BI "cap_t cap_dup(cap_t " cap_p );
-.SH USAGE
-.br
-.B cc ... -lcap
+.sp
+Link with \fI-lcap\fP.
.SH DESCRIPTION
The capabilities associated with a file or process are never edited
directly. Instead, working storage is allocated to contain a