*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> kldfirstmod (2)              
Title
Content
Arch
Section
 

KLDFIRSTMOD(2)

Contents


NAME    [Toc]    [Back]

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

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #include <sys/param.h>
     #include <sys/linker.h>

     int
     kldfirstmod(int fileid);

DESCRIPTION    [Toc]    [Back]

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

RETURN VALUES    [Toc]    [Back]

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

ERRORS    [Toc]    [Back]

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

SEE ALSO    [Toc]    [Back]

      
      
     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]    [Back]

     The kld interface first appeared in FreeBSD 3.0.


FreeBSD 5.2.1			 March 3, 1999			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
ldr_inq_region Tru64 Return module information about a region in a loaded module
ldr_next_module Tru64 Return the next module ID for a process
modfnext FreeBSD return the modid of the next kernel module
modnext FreeBSD return the modid of the next kernel module
ldr_inq_module Tru64 Return information about a loaded module
getfh HP-UX return file handle for file on remote node
kldnext FreeBSD return the fileid of the next kld file
tt_fd HP-UX return a file descriptor
tt_default_file HP-UX return the current default file
VFS_STATFS FreeBSD return file system status
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service