OSDN Git Service

(split) LDP: draft snapshot generated from latest ja.po files.
[linuxjm/LDP_man-pages.git] / draft / man2 / delete_module.2
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.
4 .\"
5 .\" 2006-02-09, some reformatting by Luc Van Oostenryck; some
6 .\" reformatting and rewordings by mtk
7 .\"
8 .\"*******************************************************************
9 .\"
10 .\" This file was generated with po4a. Translate the source file.
11 .\"
12 .\"*******************************************************************
13 .TH DELETE_MODULE 2 2006\-02\-09 Linux "Linux Programmer's Manual"
14 .SH 名前
15 delete_module \- ローダブルモジュールのエントリを削除する
16 .SH 書式
17 .nf
18 \fB#include <linux/module.h>\fP
19 .sp
20 \fBint delete_module(const char *\fP\fIname\fP\fB);\fP
21 .fi
22 .SH 説明
23 \fBdelete_module\fP()  は、未使用のローダブルモジュールのエントリを削除しようとする。 \fIname\fP が NULL
24 の場合、未使用のモジュールのうち「自動削除 (auto\-clean)」 マークがついたものを全て削除する。
25 このシステムコールを使うには特権が必要である。
26 .SH 返り値
27 成功の場合 0 が返される。エラーの場合 \-1 が返され、 \fIerrno\fP に適切な値が設定される。
28 .SH エラー
29 .TP 
30 \fBEBUSY\fP
31 そのモジュールは使用中である。
32 .TP 
33 \fBEFAULT\fP
34 \fIname\fP がプログラムがアクセスできるアドレス空間の外部にある。
35 .TP 
36 \fBEINVAL\fP
37 \fIname\fP が空文字列である。
38 .TP 
39 \fBENOENT\fP
40 その名前のモジュールが存在しない。
41 .TP 
42 \fBEPERM\fP
43 呼び出し元が特権 (\fBCAP_SYS_MODULE\fP ケーパビリティ) を持っていなかった。
44 .SH 準拠
45 \fBdelete_module\fP()  は Linux 固有である。
46 .SH 関連項目
47 \fBcreate_module\fP(2), \fBinit_module\fP(2), \fBquery_module\fP(2)