@@ -16,18 +16,16 @@ .SH LIBRARY
Key management utilities library
.RI ( libkeyutils ,\~ \-lkeyutils )
.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+.SH SYNOPSIS
+.nf
+.B #include <keyutils.h>
+.fi
+.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
.SH DESCRIPTION
The
.BR keyctl ()
system call is a multiplexor for a number of key management functions. These
should be called via the wrappers in the libkeyutils library.
-.P
-The functions can be compiled in by including the \fBkeyutils\fR header file:
-.sp
-.RS
-.nf
-.B #include <keyutils.h>
-.RE
.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
.SH KEYCTL FUNCTIONS
.BR keyctl_assume_authority (3)
@@ -16,19 +16,17 @@ .SH LIBRARY
Key management utilities library
.RI ( libkeyutils ,\~ \-lkeyutils )
.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+.SH SYNOPSIS
+.nf
+.B #include <keyutils.h>
+.fi
+.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
.SH DESCRIPTION
The
.B keyutils
package is a library and a set of utilities for accessing the kernel
\fBkeyrings\fP facility.
.P
-A header file is supplied to provide the definitions and declarations required
-to access the library:
-.P
-.RS
-.B #include <keyutils.h>
-.RE
-.P
Three system calls are provided:
.TP
.BR add_key (2)
This is a simpler and more standard way of documenting the header that provides these functions. Signed-off-by: Alejandro Colomar <alx@kernel.org> --- man/keyctl.3 | 12 +++++------- man/keyutils.7 | 12 +++++------- 2 files changed, 10 insertions(+), 14 deletions(-)