1 .\" Copyright (C) 1996 Free Software Foundation, Inc.
2 .\" This file is distributed according to the GNU General Public License.
3 .\" See the file COPYING in the top level source directory for details.
5 .\" 2006-02-09, some reformatting by Luc Van Oostenryck; some
6 .\" reformatting and rewordings by mtk
8 .TH DELETE_MODULE 2 2006-02-09 "Linux" "Linux Programmer's Manual"
10 delete_module \- delete a loadable module entry
13 .B #include <linux/module.h>
15 .BI "int delete_module(const char *" name );
19 attempts to remove an unused loadable module entry.
23 all unused modules marked auto-clean will be removed.
24 This system call requires privilege.
26 On success, zero is returned.
27 On error, \-1 is returned and
37 is outside the program's accessible address space.
44 No module by that name exists.
47 The caller was not privileged
55 .BR create_module (2),