OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / LDP_man-pages / release / man3 / remove.3
1 .\" This file is derived from unlink.2, which has the following copyright:
2 .\"
3 .\" --snip--
4 .\" This manpage is Copyright (C) 1992 Drew Eckhardt;
5 .\"                               1993 Ian Jackson.
6 .\"
7 .\" Permission is granted to make and distribute verbatim copies of this
8 .\" manual provided the copyright notice and this permission notice are
9 .\" preserved on all copies.
10 .\"
11 .\" Permission is granted to copy and distribute modified versions of this
12 .\" manual under the conditions for verbatim copying, provided that the
13 .\" entire resulting derived work is distributed under the terms of a
14 .\" permission notice identical to this one.
15 .\"
16 .\" Since the Linux kernel and libraries are constantly changing, this
17 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
18 .\" responsibility for errors or omissions, or for damages resulting from
19 .\" the use of the information contained herein.  The author(s) may not
20 .\" have taken the same level of care in the production of this manual,
21 .\" which is licensed free of charge, as they might when working
22 .\" professionally.
23 .\"
24 .\" Formatted or processed versions of this manual, if unaccompanied by
25 .\" the source, must acknowledge the copyright and authors of this work.
26 .\" --snip--
27 .\"
28 .\" Edited into remove.3 shape by:
29 .\" Graeme W. Wilford (G.Wilford@ee.surrey.ac.uk) on 13th July 1994
30 .\"
31 .\" Japanese Version Copyright (c) 1998 Ueyama Rui
32 .\"         all rights reserved.
33 .\" Translated Wed Feb 20 15:01:46 JST 1998
34 .\"         by Ueyama Rui <rui@linux.or.jp>
35 .\" Updated Sat Dec 11 JST 1999 by Kentaro Shirakata <argrath@ub32.org>
36 .\" Updated Mon Feb 17 JST 2003 by Kentaro Shirakata <argrath@ub32.org>
37 .\"
38 .TH REMOVE 3 2008-12-03 "GNU" "Linux Programmer's Manual"
39 .SH Ì¾Á°
40 remove \- ¥Õ¥¡¥¤¥ë¤ä¥Ç¥£¥ì¥¯¥È¥ê¤òºï½ü¤¹¤ë
41 .SH ½ñ¼°
42 .B #include <stdio.h>
43 .sp
44 .BI "int remove(const char *" pathname );
45 .SH ÀâÌÀ
46 .BR remove ()
47 ¤Ï¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤«¤é¥Õ¥¡¥¤¥ë̾¤òºï½ü¤¹¤ë¡£
48 ¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ¤Ï
49 .BR unlink (2)
50 ¤ò¡¢¥Ç¥£¥ì¥¯¥È¥ê¤ËÂФ·¤Æ¤Ï
51 .BR rmdir (2)
52 ¤ò¸Æ¤Ó½Ð¤¹¡£
53
54 ¤â¤·¤½¤Î̾Á°¤¬
55 ¥Õ¥¡¥¤¥ë¤Ø¤ÎºÇ¸å¤Î¥ê¥ó¥¯¤Ç¡¢¤«¤Ä¡¢¤É¤Î¥×¥í¥»¥¹¤â¤½¤Î¥Õ¥¡¥¤¥ë¤ò
56 ³«¤¤¤Æ¤¤¤Ê¤¤¤Ê¤é¡¢¥Õ¥¡¥¤¥ë¤âºï½ü¤¹¤ë¡£¥Õ¥¡¥¤¥ë¤ÎÀê¤á¤Æ¤¤¤¿
57 Îΰè¤Ï¾¤Ç»È¤¦¤³¤È¤¬¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ë¡£
58
59 ̾Á°¤¬¥Õ¥¡¥¤¥ë¤Ø¤ÎºÇ¸å¤Î¥ê¥ó¥¯¤Ç¤¢¤Ã¤Æ¤â¡¢¤É¤³¤«¤Î¥×¥í¥»¥¹¤¬
60 ¤½¤Î¥Õ¥¡¥¤¥ë¤ò³«¤¤¤Æ¤¤¤ë¤Ê¤é¡¢¥Õ¥¡¥¤¥ë¤ÎºÇ¸å¤Î¥Õ¥¡¥¤¥ëµ­½Ò»Ò
61 (file descriptor) ¤¬ÊĤ¸¤é¤ì¤ë¤Þ¤Ç¥Õ¥¡¥¤¥ë¤Ï¸ºß¤·Â³¤±¤ë¡£
62
63 ̾Á°¤¬»Ø¤·¤Æ¤¤¤ë¤Î¤¬¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤Ê¤é¡¢¤½¤Î¥ê¥ó¥¯¤òºï½ü¤¹¤ë¡£
64
65 ̾Á°¤¬»Ø¤·¤Æ¤¤¤ë¤Î¤¬¥½¥±¥Ã¥È¡¢FIFO¡¢¥Ç¥Ð¥¤¥¹¤Î¾ì¹ç¡¢Ì¾Á°¤Ïºï½ü¤µ¤ì¤ë¤¬¡¢
66 ¤½¤Î¥½¥±¥Ã¥È¤Ê¤É¤ò³«¤¤¤Æ¤¤¤ë¥×¥í¥»¥¹¤Ï¤½¤Î¤Þ¤Þ»È¤¤Â³¤±¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
67 .SH ÊÖ¤êÃÍ
68 À®¸ù¤¹¤ì¤Ð 0 ¤¬Ê֤롣¥¨¥é¡¼¤Ê¤é \-1 ¤¬Ê֤ꡢ
69 .I errno
70 ¤ËŬÀÚ¤ÊÃͤ¬¥»¥Ã¥È¤µ¤ì¤ë¡£
71 .SH ¥¨¥é¡¼
72 ȯÀ¸¤¹¤ë¥¨¥é¡¼¤Ï
73 .BR unlink (2)
74 ¤ª¤è¤Ó
75 .BR rmdir (2)
76 ¤ÈƱ¤¸¤â¤Î¤Ç¤¢¤ë¡£
77 .SH ½àµò
78 C89, C99, 4.3BSD, POSIX.1-2001.
79 .SH Ãí°Õ
80 libc4 ¤È libc5 ¤Ë¤ª¤¤¤Æ¤Ï¡¢
81 .BR remove ()
82 ¤Ï
83 .BR unlink (2)
84 ¤ÎÊÌ̾¤Ç¤¢¤Ã¤¿ (½¾¤Ã¤Æ¥Ç¥£¥ì¥¯¥È¥ê¤òºï½ü¤Ç¤­¤Ê¤«¤Ã¤¿)¡£
85 .SH ¥Ð¥°
86 NFS ¥×¥í¥È¥³¥ë¤Îº¬ËÜŪ¤ÊÉÔÅÔ¹ç¤Ë¤è¤ê¡¢»ÈÍÑÃæ¤Î¥Õ¥¡¥¤¥ë¤¬¡¢
87 ÁÛÄê¤Ç¤­¤Ê¤¤·Á¤Çºï½ü¤µ¤ì¤ë¤³¤È¤¬¤¢¤ê¤¨¤ë¡£
88 .SH ´ØÏ¢¹àÌÜ
89 .BR rm (1),
90 .BR unlink (1),
91 .BR link (2),
92 .BR mknod (2),
93 .BR open (2),
94 .BR rename (2),
95 .BR rmdir (2),
96 .BR unlink (2),
97 .BR mkfifo (3),
98 .BR symlink (7)