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

  man pages->FreeBSD man pages -> kldunload (2)              



NAME    [Toc]    [Back]

     kldunload -- unload kld files

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

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

     kldunload(int fileid);

DESCRIPTION    [Toc]    [Back]

     The kldunload() system call unloads a kld file from the kernel that was
     previously linked via kldload(2).

RETURN VALUES    [Toc]    [Back]

     Upon successful completion, the value 0 is returned; otherwise the
     value -1 is returned and the global variable errno is set to indicate the

ERRORS    [Toc]    [Back]

     The file referred to by fileid is unloaded unless:

     [EPERM]		You don't have access to unlink the file from the kernel.

     [ENOENT]		The file was not found.

     [EBUSY]		You attempted to unload a file linked by the kernel.

SEE ALSO    [Toc]    [Back]

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

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
kldunload FreeBSD unload a file from the kernel
rmmod Linux unload loadable modules
modunload OpenBSD unload a kernel module
moduload HP-UX unload a kernel module on demand
pax HP-UX Extracts, writes, and lists archive files; copies files and directory hierarchies
dcl2inc Linux postprocess ftnchek .dcl files to create separate INCLUDE files
znew OpenBSD convert compressed files to gzipped files
pod2html OpenBSD convert .pod files to .html files
pod2html Linux convert .pod files to .html files
pod2html IRIX convert .pod files to .html files
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service