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

  man pages->Linux man pages -> delete_module (2)              



NAME    [Toc]    [Back]

       delete_module - delete a loadable module entry

SYNOPSIS    [Toc]    [Back]

       #include <linux/module.h>

       int delete_module(const char *name);

DESCRIPTION    [Toc]    [Back]

       delete_module  attempts	to remove an unused loadable module entry.  If
       name is NULL, all unused modules marked	auto-clean  will  be  removed.
       This system call is only open to the superuser.

RETURN VALUE    [Toc]    [Back]

       On  success,  zero  is returned.  On error, -1 is returned and errno is
       set appropriately.

ERRORS    [Toc]    [Back]

       EPERM  The user is not the superuser.

       ENOENT No module by that name exists.

       EINVAL name was the empty string.

       EBUSY  The module is in use.

       EFAULT name is outside the program's accessible address space.

SEE ALSO    [Toc]    [Back]

       create_module(2), init_module(2), query_module(2).

Linux				  26 Dec 1996		      DELETE_MODULE(2)
[ Back ]
 Similar pages
Name OS Title
create_module Linux create a loadable module entry
init_module Linux initialize a loadable module entry
insmod Linux install loadable kernel module
snmpmod FreeBSD SNMP daemon loadable module interface
acl_delete_entry FreeBSD delete an ACL entry from an ACL
csa_delete_entry HP-UX delete an entry from a calendar
deletehost IRIX delete an entry from the host file.
unlink HP-UX remove directory entry; delete file
acl_delete_perm Tru64 Delete permissions from a set of permissions belonging to an ACL entry
rmmod Linux unload loadable modules
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service