GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
KLDSYM(2) FreeBSD System Calls Manual KLDSYM(2)

̾??

kldsymKLD ???Υ????ܥ?̾?ˤ??븡??

Standard C Library (libc, -lc)

<sys/param.h> <sys/linker.h> int (int fileid, int command, void *data)

kldsym() ?????ƥॳ?????ϡ? fileid ?ǻ??ꤵ?줿?⥸?塼???ˤ????? data ?ǻ??ꤵ?줿?????ܥ??Υ??ɥ쥹???֤??ޤ??? fileid ?? 0 ?ξ??硢???٤ƤΥ????ɤ????Ƥ????⥸?塼?뤬?????????ޤ??? ???ߡ??????????Ƥ??? command ?? KLDSYM_LOOKUP ?ΤߤǤ???

data ?????ϡ????ι?¤?ΤǤ?:

struct kld_sym_lookup {
    int         version;        /* sizeof(struct kld_sym_lookup) */
    char        *symname;       /* ?????оݤΥ????ܥ?̾ */
    u_long      symvalue;
    size_t      symsize;
};

version ?????Фϡ? () ???Ƥ֥????ɤˤ??äơ? (struct kld_sym_lookup) ?????ꤵ?????٤??Ǥ??? ???˼??? 2 ?Ĥΰ??? version ?? symname ?ϡ??桼???????ꤷ?ޤ??? ?Ǹ??? 2 ?? symvalue ?? symsize ?ϡ? kldsym() ?ˤ??ä??????????ޤ??? ???????ϡ? symname ?˴?Ϣ?դ????줿???ɥ쥹?ȡ? ?????λؤ??Ƥ????ǡ??????礭???򡢤??줾???ݻ????ޤ???

The kldsym() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indicate the error.

kldsym() ?????ƥॳ?????ϼ??ξ????˼??Ԥ??ޤ?:

[EINVAL]
data->version ?ޤ??? command ???????ͤ??????Ǥ???
[ENOENT]
fileid ???????????Ǥ??뤫?????ꤷ???????ܥ뤬???Ĥ????ޤ????Ǥ?????

kldfind(2), kldfirstmod(2), kldload(2), kldnext(2), kldunload(2), modfind(2), modnext(2), modstat(2), kld(4)

kldsym() ?????ƥॳ?????? FreeBSD 3.0 ?ǤϤ??????о줷?ޤ?????

July 26, 2001 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 2 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.