*nix Documentation Project
Title
Content
Arch
Section

NAME [Toc]

 kldfirstmod -- return first module id from the kld file specified

LIBRARY [Toc]

 Standard C Library (libc, -lc)

SYNOPSIS [Toc]

 #include <sys/param.h>
 #include <sys/linker.h>
 int
 kldfirstmod(int fileid);

DESCRIPTION [Toc]

 The kldfirstmod() system call returns the module id pertaining to the
 first module referenced by fileid.

RETURN VALUES [Toc]

 The kldfirstmod() will return the id of the first module referenced by
 fileid or 0 if there are no references.

ERRORS [Toc]

 [ENOENT]		The kld file referenced by fileid was not found.

SEE ALSO [Toc]


 kldfind(2), kldload(2), kldnext(2), kldstat(2), kldsym(2), kldunload(2),
 modfind(2), modfnext(2), modnext(2), modstat(2), kld(4), kldstat(8)

HISTORY [Toc]

 The kld interface first appeared in FreeBSD 3.0.
FreeBSD 5.2.1			 March 3, 1999			 FreeBSD 5.2.1

AltStyle によって変換されたページ (->オリジナル) /

Similar pages
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service