Rev | Author | # | Line |
---|---|---|---|
3 | perry | 1 | !!NAME |
2 | |||
5 | PerryLorier | 3 | delete_module - delete a loadable module entry |
3 | perry | 4 | |
5 | !!SYNOPSIS | ||
6 | |||
7 | |||
5 | PerryLorier | 8 | __#include <linux/module.h> |
9 | int delete_module(const char * __''name''__);__ | ||
3 | perry | 10 | !!DESCRIPTION |
11 | |||
5 | PerryLorier | 12 | delete_module(2) 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. |
3 | perry | 13 | |
14 | !!RETURN VALUE | ||
5 | PerryLorier | 15 | On success, zero is returned. On error, -1 is returned and ''errno'' is set appropriately. |
3 | perry | 16 | |
17 | !!ERRORS | ||
5 | PerryLorier | 18 | ;[EPERM]: The user is not the superuser. |
19 | ;[ENOENT]: No module by that name exists. | ||
20 | ;[EINVAL]: ''name'' was the empty string. | ||
21 | ;[EBUSY]: The module is in use. | ||
22 | ;[EFAULT]: ''name'' is outside the program's accessible address space. | ||
3 | perry | 23 | |
24 | !!SEE ALSO | ||
5 | PerryLorier | 25 | create_module(2), init_module(2), query_module(2). |
lib/blame.php:177: Warning: Invalid argument supplied for foreach() (...repeated 5 times)