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 .\"*******************************************************************
10 .\" This file was generated with po4a. Translate the source file.
12 .\"*******************************************************************
13 .TH DELETE_MODULE 2 2006\-02\-09 Linux "Linux Programmer's Manual"
15 delete_module \- ローダブルモジュールのエントリを削除する
18 \fB#include <linux/module.h>\fP
20 \fBint delete_module(const char *\fP\fIname\fP\fB);\fP
23 \fBdelete_module\fP() は、未使用のローダブルモジュールのエントリを削除しようとする。 \fIname\fP が NULL
24 の場合、未使用のモジュールのうち「自動削除 (auto\-clean)」 マークがついたものを全て削除する。
25 このシステムコールを使うには特権が必要である。
27 成功の場合 0 が返される。エラーの場合 \-1 が返され、 \fIerrno\fP に適切な値が設定される。
34 \fIname\fP がプログラムがアクセスできるアドレス空間の外部にある。
43 呼び出し元が特権 (\fBCAP_SYS_MODULE\fP ケーパビリティ) を持っていなかった。
45 \fBdelete_module\fP() は Linux 固有である。
47 \fBcreate_module\fP(2), \fBinit_module\fP(2), \fBquery_module\fP(2)