mdoc(7) police: markup nits.

This commit is contained in:
Ruslan Ermilov 2001-08-08 08:51:03 +00:00
parent 7d048b828a
commit 71b67d931a

View File

@ -1,6 +1,6 @@
.\" Copyright (c) 2001 Chris Costello <chris@FreeBSD.org>
.\" All rights reserved.
.\"
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
@ -9,7 +9,7 @@
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\"
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@ -21,20 +21,20 @@
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" $FreeBSD$
.\"
.\"
.\" $FreeBSD$
.\"
.Dd July 26, 2001
.Dt KLDSYM 2
.Os FreeBSD
.Os
.Sh NAME
.Nm kldsym
.Nd look up address by symbol name in a KLD
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
.Fd #include <sys/param.h>
.Fd #include <sys/linker.h>
.In sys/param.h
.In sys/linker.h
.Ft int
.Fn kldsym "int fileid" "int command" "void *data"
.Sh DESCRIPTION
@ -68,7 +68,7 @@ member is to be set
by the code calling
.Fn kldsym
to
.Li sizeof(struct kld_sym_lookup) .
.Fn sizeof "struct kld_sym_lookup" .
The next two members,
.Va version
and
@ -84,12 +84,7 @@ and contain the address associated with
.Va symname
and the size of the data it points to, respectively.
.Sh RETURN VALUES
The
.Fn kldsym
function returns 0 on success
and -1 on failure, and sets
.Va errno
to indicate the error.
.Rv -std kldsym
.Sh ERRORS
The
.Fn kldsym
@ -101,7 +96,7 @@ Invalid value in
or
.Fa command .
.It Bq Er ENOENT
.Fa Fileid
.Fa fileid
is invalid,
or the specified symbol could not be found.
.El