kldsym.2 rev 1.1.2.2

This commit is contained in:
Kazuo Horikawa 2001-09-23 03:56:47 +00:00
parent 9c9fe72257
commit c2f895fc2b
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=10788

View file

@ -1,6 +1,6 @@
.\" Copyright (c) 2001 Chris Costello <chris@FreeBSD.org> .\" Copyright (c) 2001 Chris Costello <chris@FreeBSD.org>
.\" All rights reserved. .\" All rights reserved.
.\" .\"
.\" Redistribution and use in source and binary forms, with or without .\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions .\" modification, are permitted provided that the following conditions
.\" are met: .\" are met:
@ -9,7 +9,7 @@
.\" 2. Redistributions in binary form must reproduce the above copyright .\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the .\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution. .\" documentation and/or other materials provided with the distribution.
.\" .\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@ -21,10 +21,10 @@
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" 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 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" %FreeBSD: src/lib/libc/sys/kldsym.2,v 1.1.2.1 2001/08/01 05:42:27 chris Exp % .\" %FreeBSD: src/lib/libc/sys/kldsym.2,v 1.1.2.2 2001/08/17 15:42:45 ru Exp %
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD: doc/ja_JP.eucJP/man/man2/kldsym.2,v 1.1 2001/09/23 02:09:08 horikawa Exp $
.Dd July 26, 2001 .Dd July 26, 2001
.Dt KLDSYM 2 .Dt KLDSYM 2
.Os .Os
@ -34,8 +34,8 @@
.Sh ライブラリ .Sh ライブラリ
.Lb libc .Lb libc
.Sh 書式 .Sh 書式
.Fd #include <sys/param.h> .In sys/param.h
.Fd #include <sys/linker.h> .In sys/linker.h
.Ft int .Ft int
.Fn kldsym "int fileid" "int command" "void *data" .Fn kldsym "int fileid" "int command" "void *data"
.Sh 解説 .Sh 解説
@ -67,7 +67,7 @@ struct kld_sym_lookup {
メンバは、 メンバは、
.Fn kldsym .Fn kldsym
を呼ぶコードによって、 を呼ぶコードによって、
.Li sizeof(struct kld_sym_lookup) .Fn sizeof "struct kld_sym_lookup"
に設定されるべきです。 に設定されるべきです。
次に示す 2 個の引数 次に示す 2 個の引数
.Va version .Va version