OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / modutils / draft / man2 / delete_module.2
1 .\" Copyright (C) 1996 Free Software Foundation, Inc.
2 .\" This file is distributed accroding to the GNU General Public License.
3 .\" See the file COPYING in the top level source directory for details.
4 .\"
5 .\" Japanese Version Copyright (c) 1997,1999 HANATAKA Shinya and FUJIWARA Teruyoshi
6 .\"         all rights reserved.
7 .\" Translated Sat Aug 30 14:10:38 JST 1997
8 .\"         by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
9 .\" Merged with another translation Sun Aug 15 10:38:59 JST 1999
10 .\"         by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
11 .\"
12 .\"WORD:        loadable module         ¥í¡¼¥À¥Ö¥ë¥â¥¸¥å¡¼¥ë
13 .\"
14 .TH DELETE_MODULE 2 "26 Dec 1996" Linux "Linux Module Support"
15 .\"O .SH NAME
16 .SH Ì¾Á°
17 .\"O delete_module \- delete a loadable module entry
18 delete_module \- ¥í¡¼¥À¥Ö¥ë¥â¥¸¥å¡¼¥ë¤Î¥¨¥ó¥È¥ê¤òºï½ü¤¹¤ë
19 .\"O .SH SYNOPSIS
20 .SH ½ñ¼°
21 .nf
22 .B #include <linux/module.h>
23 .sp
24 .BI "int delete_module(const char *" name );
25 .fi
26 .\"O .SH DESCRIPTION
27 .SH ÀâÌÀ
28 .\"O .B delete_module
29 .\"O attempts to remove an unused loadable module entry.  If \fIname\fP
30 .\"O is \fBNULL\fP, all unused modules marked auto-clean will be removed.
31 .B delete_module
32 ¤Ï̤»ÈÍÑ¤Î¥í¡¼¥À¥Ö¥ë¥â¥¸¥å¡¼¥ë¤Î¥¨¥ó¥È¥ê¤òºï½ü¤·¤è¤¦¤È»î¤ß¤ë¡£
33 \fIname\fP ¤¬ \fBNULL\fP ¤Ê¤é¤Ð¡¢
34 »ÈÍѤµ¤ì¤Æ¤¤¤Ê¤¤¥â¥¸¥å¡¼¥ë¤Î¤¦¤Á¡Ö¼«Æ°ºï½ü(all-clean)¡×¥Þ¡¼¥¯¤Î¤Ä¤¤¤¿
35 ¤â¤Î¤òÁ´¤Æºï½ü¤¹¤ë¡£
36 .\"O This system call is only open to the superuser.
37 ¤³¤Î¥·¥¹¥Æ¥à¥³¡¼¥ë¤ò»È¤¨¤ë¤Î¤Ï¥¹¡¼¥Ñ¡¼¥æ¡¼¥¶¤À¤±¤Ç¤¢¤ë¡£
38 .\"O .SH "RETURN VALUE"
39 .SH ÊÖ¤êÃÍ
40 .\"O On success, zero is returned.  On error, \-1 is returned and \fIerrno\fP
41 .\"O is set appropriately.
42 À®¸ù¤·¤¿¾ì¹ç¤Ï 0 ¤¬ÊÖ¤µ¤ì¤ë¡£¥¨¥é¡¼¤Î¾ì¹ç¤Ï \-1 ¤¬ÊÖ¤µ¤ì¡¢\fIerrno\fP 
43 ¤ËŬÀÚ¤ÊÃͤ¬ÀßÄꤵ¤ì¤ë¡£
44 .\"O .SH ERRORS
45 .SH ¥¨¥é¡¼
46 .TP
47 .B EPERM
48 .\"O The user is not the superuser.
49 ¸Æ¤Ó½Ð¤·¤ò¹Ô¤Ã¤¿¤Î¤¬¥¹¡¼¥Ñ¡¼¥æ¡¼¥¶¤Ç¤Ê¤¤¡£
50 .TP
51 .B ENOENT
52 .\"O No module by that name exists.
53 ¤½¤Î̾Á°¤ò»ý¤Ä¥â¥¸¥å¡¼¥ë¤¬Â¸ºß¤·¤Ê¤¤¡£
54 .TP
55 .B EINVAL
56 .\"O \fIname\fP was the empty string.
57 \fIname\fP ¤¬¶õʸ»úÎó¤Ç¤¢¤ë¡£
58 .TP
59 .B EBUSY
60 .\"O The module is in use.
61 ¤½¤Î¥â¥¸¥å¡¼¥ë¤Ï»ÈÍÑÃæ¤Ç¤¢¤ë¡£
62 .TP
63 .B EFAULT
64 .\"O .I name
65 .\"O is outside the program's accessible address space.
66 .I name
67 ¤¬¥×¥í¥°¥é¥à¤¬¥¢¥¯¥»¥¹¤Ç¤­¤ë¥¢¥É¥ì¥¹¶õ´Ö¤Î³°Éô¤Ë¤¢¤ë¡£
68 .\"O .SH "SEE ALSO
69 .SH ´ØÏ¢¹àÌÜ
70 .\"O .BR create_module "(2), " init_module "(2), " query_module "(2).
71 .BR create_module "(2), " init_module "(2), " query_module "(2)
72