Penguin
Diff: delete_module(2)
EditPageHistoryDiffInfoLikePages

Differences between current version and revision by previous author of delete_module(2).

Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History

Newer page: version 5 Last edited on Thursday, October 31, 2002 5:48:27 pm by PerryLorier
Older page: version 4 Last edited on Monday, June 3, 2002 6:52:57 pm by perry Revert
@@ -1,69 +1,25 @@
-DELETE_MODULE  
-!!!DELETE_MODULE  
-NAME  
-SYNOPSIS  
-DESCRIPTION  
-RETURN VALUE  
-ERRORS  
-SEE ALSO  
-----  
 !!NAME 
  
+delete_module - delete a loadable module entry  
  
-delete_module - delete a loadable module entry  
 !!SYNOPSIS 
  
  
-__#include  
-__''name''__);  
- __ 
+ __#include <linux/module.h>  
+ int delete_module(const char * __''name''__);__ 
 !!DESCRIPTION 
  
+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.  
  
-__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 
+On success, zero is returned. On error, -1 is returned and ''errno'' is set appropriately.  
  
-  
-On success, zero is returned. On error, -1 is returned and  
-''errno'' is set appropriately.  
 !!ERRORS 
+;[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.  
  
-  
-__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 
-  
-  
- create_module(2), __ init_module__ (2),  
- query_module(2).  
-----  
+create_module(2), init_module(2), query_module(2). 
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.