Rechercher une page de manuel
kldunload.2freebsd
Langue: en
Version: 266186 (debian - 07/07/09)
Section: 2 (Appels système)
BSD mandoc
NAME
kldunload kldunloadf - unload kld filesLIBRARY
Lb libcSYNOPSIS
In sys/param.h In sys/linker.h Ft int Fn kldunload int fileid Ft int Fn kldunload int fileid int flagsDESCRIPTION
The Fn kldunload system call unloads a kld file from the kernel that was previously linked via kldload(2).The Fn kldunloadf system call accepts an additional flags argument, which may be one of LINKER_UNLOAD_NORMAL giving the same behavior as Fn kldunload , or LINKER_UNLOAD_FORCE which causes the unload to ignore a failure to quiesce the module.
RETURN VALUES
Rv -stdERRORS
The file referred to by Fa fileid is unloaded unless:- Bq Er EPERM
- You do not have access to unlink the file from the kernel.
- Bq Er ENOENT
- The file was not found.
- Bq Er EBUSY
- You attempted to unload a file linked by the kernel.
SEE ALSO
kldfind(2), kldfirstmod(2), kldload(2), kldnext(2), kldstat(2), kldsym(2), modfind(2), modfnext(2), modnext(2), modstat(2), kld(4), kldunload(8)HISTORY
The kld interface first appeared in Fx 3.0 .Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre