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

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

KLDNEXT(2)

Contents


NAME    [Toc]    [Back]

     kldnext -- return the fileid of the next kld file

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

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

     int
     kldnext(int fileid);

DESCRIPTION    [Toc]    [Back]

     The kldnext() system call returns the fileid of the next kld file (that
     is, the one after fileid) or 0 if fileid is the last file loaded.

RETURN VALUES    [Toc]    [Back]

     The kldnext() system call returns the fileid of the next kld file (see
     DESCRIPTION) or 0.  If an error occurs, errno is set to indicate the
     error.

ERRORS    [Toc]    [Back]

     The only error set by kldnext() is ENOENT, which is set when fileid
     refers to a kld file that does not exist (isn't loaded).

SEE ALSO    [Toc]    [Back]

      
      
     kldfind(2), kldfirstmod(2), kldload(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
kldfind FreeBSD returns the fileid of a kld file
getfh HP-UX return file handle for file on remote node
tt_fd HP-UX return a file descriptor
kldfirstmod FreeBSD return first module id from the kld file specified
VFS_STATFS FreeBSD return file system status
tt_default_file HP-UX return the current default file
VFS_ROOT FreeBSD return the root vnode of a file system
elf_fsize IRIX return the size of an object file type
tell IRIX return the read/write file pointer
tell IRIX Return current access position for an open file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service