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 .\" Japanese Version Copyright (c) 2006 Akihiro MOTOKI all rights reserved.
9 .\" Translated 2006-07-29, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
11 .TH DELETE_MODULE 2 2006-02-09 "Linux" "Linux Programmer's Manual"
14 .\"O delete_module \- delete a loadable module entry
15 delete_module \- ローダブルモジュールのエントリを削除する
19 .B #include <linux/module.h>
21 .BI "int delete_module(const char *" name );
25 .\"O .BR delete_module ()
26 .\"O attempts to remove an unused loadable module entry.
30 .\"O all unused modules marked auto-clean will be removed.
31 .\"O This system call requires privilege.
33 は、未使用のローダブルモジュールのエントリを削除しようとする。
35 が NULL の場合、未使用のモジュールのうち「自動削除 (auto-clean)」
37 このシステムコールを使うには特権が必要である。
38 .\"O .SH "RETURN VALUE"
40 .\"O On success, zero is returned.
41 .\"O On error, \-1 is returned and
43 .\"O is set appropriately.
44 成功すると 0 を返す。エラーの場合 \-1 を返し、
51 .\"O The module is in use.
56 .\"O is outside the program's accessible address space.
58 がプログラムがアクセスできるアドレス空間の外部にある。
62 .\"O was an empty string.
67 .\"O No module by that name exists.
71 .\"O The caller was not privileged
72 .\"O (did not have the
73 .\"O .B CAP_SYS_MODULE
78 .\"O .SH "CONFORMING TO"
80 .\"O .BR delete_module ()
81 .\"O is Linux-specific.
86 .BR create_module (2),