mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-10 16:31:18 +01:00
Fixed missing include in synopsis.
Fixed some mdoc usage errors.
This commit is contained in:
parent
a18cde535d
commit
1dc547e7a9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=45512
@ -23,7 +23,7 @@
|
||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" $Id$
|
||||
.\" $Id: kldfind.2,v 1.1 1999/04/04 12:29:31 dfr Exp $
|
||||
.\"
|
||||
.Dd March 3, 1999
|
||||
.Dt KLDFIND 2
|
||||
@ -32,8 +32,8 @@
|
||||
.Nm kldfind
|
||||
.Nd returns the fileid of a kld file
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/param.h>
|
||||
.Fd #include <sys/linker.h>
|
||||
.br
|
||||
.Ft int
|
||||
.Fn kldfind "const char *file"
|
||||
.Sh DESCRIPTION
|
||||
@ -62,9 +62,7 @@ The data required for this operation could not be read from the kernel space.
|
||||
The file specified by
|
||||
.Va file
|
||||
does not exist or is not readable.
|
||||
.Ed
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Nm kld
|
||||
interface first appeared in FreeBSD 3.0.
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" $Id$
|
||||
.\" $Id: kldfirstmod.2,v 1.1 1999/04/04 12:29:31 dfr Exp $
|
||||
.\"
|
||||
.Dd March 3, 1999
|
||||
.Dt KLDFIRSTMOD 2
|
||||
@ -32,8 +32,8 @@
|
||||
.Nm kldfirstmod
|
||||
.Nd "return first module id from the kld file specified"
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/param.h>
|
||||
.Fd #include <sys/linker.h>
|
||||
.br
|
||||
.Ft int
|
||||
.Fn kldfirstmod "int fileid"
|
||||
.Sh DESCRIPTION
|
||||
@ -53,7 +53,6 @@ or 0 if there are no references.
|
||||
The kld file referenced by
|
||||
.Va fileid
|
||||
was not found.
|
||||
.Ed
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Nm kld
|
||||
|
@ -23,7 +23,7 @@
|
||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" $Id$
|
||||
.\" $Id: kldload.2,v 1.1 1999/04/04 12:29:31 dfr Exp $
|
||||
.\"
|
||||
|
||||
.Dd March 3, 1999
|
||||
@ -34,8 +34,8 @@
|
||||
.Nm kldunload
|
||||
.Nd load KLD files into the kernel
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/param.h>
|
||||
.Fd #include <sys/linker.h>
|
||||
.br
|
||||
.Ft int
|
||||
.Fn kldload "const char *file"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -23,7 +23,7 @@
|
||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" $Id$
|
||||
.\" $Id: kldnext.2,v 1.1 1999/04/04 12:29:31 dfr Exp $
|
||||
.\"
|
||||
.Dd March 3, 1999
|
||||
.Dt KLDNEXT 2
|
||||
@ -32,8 +32,8 @@
|
||||
.Nm kldnext
|
||||
.Nd return the fileid of the next kld file
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/param.h>
|
||||
.Fd #include <sys/linker.h>
|
||||
.br
|
||||
.Ft int
|
||||
.Fn kldnext "int fileid"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -23,7 +23,7 @@
|
||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" $Id$
|
||||
.\" $Id: kldstat.2,v 1.1 1999/04/04 12:29:31 dfr Exp $
|
||||
.\"
|
||||
.Dd March 3, 1999
|
||||
.Dt KLDSTAT 2
|
||||
@ -32,8 +32,8 @@
|
||||
.Nm kldstat
|
||||
.Nd get status of kld file
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/param.h>
|
||||
.Fd #include <sys/linker.h>
|
||||
.br
|
||||
.Ft int
|
||||
.Fn kldstat "int fileid" "struct kld_file_stat *stat"
|
||||
.Sh DESCRIPTION
|
||||
@ -43,7 +43,6 @@ function writes the info for the file referred to by
|
||||
.Va fileid
|
||||
into
|
||||
.Va stat .
|
||||
.br
|
||||
.Bd -literal
|
||||
struct kld_file_stat {
|
||||
int version; /* set to sizeof(linker_file_stat) */
|
||||
@ -76,7 +75,6 @@ The id of the file specified in
|
||||
The load address of the kld file.
|
||||
.It size
|
||||
The size of the file.
|
||||
.Ed
|
||||
.Sh RETURN VALUES
|
||||
.Fn kldstat
|
||||
seems to always return 0.
|
||||
@ -103,7 +101,6 @@ There was a problem copying one, some, or all of the fields into
|
||||
in the
|
||||
.Fn copyout
|
||||
function.
|
||||
.Ed
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Nm kld
|
||||
|
@ -23,7 +23,7 @@
|
||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" $Id$
|
||||
.\" $Id: kldunload.2,v 1.1 1999/04/04 12:29:31 dfr Exp $
|
||||
.\"
|
||||
|
||||
.Dd March 3, 1999
|
||||
@ -33,16 +33,15 @@
|
||||
.Nm kldunload
|
||||
.Nd unload kld files
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/param.h>
|
||||
.Fd #include <sys/linker.h>
|
||||
.br
|
||||
.Ft int
|
||||
.Fn kldunload "int fileid"
|
||||
.Sh DESCRIPTION
|
||||
The function
|
||||
.Fn kldunload
|
||||
unloads a kld file from the kernel that was previously linked via
|
||||
.Xr kldload 3
|
||||
.
|
||||
.Xr kldload 3 .
|
||||
.Sh RETURN VALUES
|
||||
The function
|
||||
.Fn kldunload
|
||||
@ -64,7 +63,6 @@ You don't have access to unlink the file from the kernel.
|
||||
The file was not found.
|
||||
.It Bq Er EBUSY
|
||||
You attempted to unload a file linked by the kernel.
|
||||
.Ed
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Nm kld
|
||||
|
Loading…
Reference in New Issue
Block a user