OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / LDP_man-pages / release / man2 / futimesat.2
1 .\" Hey Emacs! This file is -*- nroff -*- source.
2 .\"
3 .\" This manpage is Copyright (C) 2006, Michael Kerrisk
4 .\"
5 .\" Permission is granted to make and distribute verbatim copies of this
6 .\" manual provided the copyright notice and this permission notice are
7 .\" preserved on all copies.
8 .\"
9 .\" Permission is granted to copy and distribute modified versions of this
10 .\" manual under the conditions for verbatim copying, provided that the
11 .\" entire resulting derived work is distributed under the terms of a
12 .\" permission notice identical to this one.
13 .\"
14 .\" Since the Linux kernel and libraries are constantly changing, this
15 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
16 .\" responsibility for errors or omissions, or for damages resulting from
17 .\" the use of the information contained herein.  The author(s) may not
18 .\" have taken the same level of care in the production of this manual,
19 .\" which is licensed free of charge, as they might when working
20 .\" professionally.
21 .\"
22 .\" Formatted or processed versions of this manual, if unaccompanied by
23 .\" the source, must acknowledge the copyright and authors of this work.
24 .\"
25 .\" Japanese Version Copyright (c) 2006 Yuichi SATO
26 .\"         all rights reserved.
27 .\" Translated 2006-09-30 by Yuichi SATO <ysato444@yahoo.co.jp>, LDP v2.39
28 .\"
29 .TH FUTIMESAT 2 2009-12-13 "Linux" "Linux Programmer's Manual"
30 .SH Ì¾Á°
31 futimesat \- ¥Ç¥£¥ì¥¯¥È¥ê¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤«¤éÁêÂÐŪ¤Ê°ÌÃ֤ˤ¢¤ë¥Õ¥¡¥¤¥ë¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×¤òÊѹ¹¤¹¤ë
32 .SH ½ñ¼°
33 .nf
34 .B #include <fcntl.h>           /* AT_* Äê¿ô¤ÎÄêµÁ */
35 .sp
36 .BI "int futimesat(int " dirfd ", const char *" pathname ,
37 .BI "              const struct timeval " times [2]);
38 .fi
39 .sp
40 .in -4n
41 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
42 .RB ( feature_test_macros (7)
43 »²¾È):
44 .in
45 .sp
46 .BR futimesat ():
47 .br
48 glibc 2.10 °Ê¹ß: _XOPEN_SOURCE >= 700 || _POSIX_C_SOURCE >= 200809L
49 .br
50 glibc 2.10 ¤è¤êÁ°:
51 _ATFILE_SOURCE
52 .SH ÀâÌÀ
53 ¤³¤Î¥·¥¹¥Æ¥à¥³¡¼¥ë¤ÏÇÑ»ßͽÄê¤Ç¤¢¤ë¡£
54 Âå¤ï¤ê¤Ë
55 .BR utimensat (2)
56 ¤ò»ÈÍѤ¹¤ë¤³¤È¡£
57
58 .BR futimesat ()
59 ¥·¥¹¥Æ¥à¥³¡¼¥ë¤Ï¡¢¤³¤Î man ¥Ú¡¼¥¸¤ÇÀâÌÀ¤·¤Æ¤¤¤ë°ã¤¤¤¬¤¢¤ë°Ê³°¤Ï¡¢
60 .BR utimes (2)
61 ¤ÈÁ´¤¯Æ±¤¸¤è¤¦¤ËÆ°ºî¤¹¤ë¡£
62
63 .I pathname
64 ¤Ç»ØÄꤵ¤ì¤ë¥Ñ¥¹Ì¾¤¬ÁêÂХѥ¹Ì¾¤Ç¤¢¤ë¾ì¹ç¡¢
65 ¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿
66 .I dirfd
67 ¤Ç»²¾È¤µ¤ì¤ë¥Ç¥£¥ì¥¯¥È¥ê¤«¤é¤ÎÁêÂХѥ¹Ì¾¤È¤·¤Æ²ò¼á¤µ¤ì¤ë
68 .RB ( utimes (2)
69 ¤Ç¤Ï¡¢ÁêÂХѥ¹¤Ï¸Æ¤Ó½Ð¤·¸µ¥×¥í¥»¥¹¤Î
70 ¥«¥ì¥ó¥È¥ï¡¼¥­¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê¤«¤é¤ÎÁêÂХѥ¹¤È¤Ê¤ë)¡£
71
72 .I pathname
73 ¤¬ÁêÂХѥ¹¤Ç¤¢¤ê¡¢¤«¤Ä
74 .I dirfd
75 ¤¬ÆÃÊ̤ÊÃÍ
76 .B AT_FDCWD
77 ¤Ç¤¢¤ë¾ì¹ç¡¢
78 .I pathname
79 ¤Ï
80 .RB ( utimes (2)
81 ¤ÈƱ¤¸¤è¤¦¤Ë) ¸Æ¤Ó½Ð¤·¸µ¥×¥í¥»¥¹¤Î
82 ¥«¥ì¥ó¥È¥ï¡¼¥­¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê¤«¤é¤ÎÁêÂХѥ¹Ì¾¤È¤·¤Æ²ò¼á¤µ¤ì¤ë¡£
83
84 .I pathname
85 ¤¬ÀäÂХѥ¹¤Ç¤¢¤ë¾ì¹ç¡¢
86 .I dirfd
87 ¤Ï̵»ë¤µ¤ì¤ë¡£
88 .SH ÊÖ¤êÃÍ
89 À®¸ù¤·¤¿¾ì¹ç¡¢
90 .BR futimesat ()
91 ¤Ï 0 ¤òÊÖ¤¹¡£
92 ¥¨¥é¡¼¤Î¾ì¹ç¡¢\-1 ¤¬ÊÖ¤µ¤ì¤Æ¡¢
93 .I errno
94 ¤Ë¤Ï¥¨¥é¡¼¤ò¼¨¤¹Ãͤ¬ÀßÄꤵ¤ì¤ë¡£
95 .SH ¥¨¥é¡¼
96 .BR utimes (2)
97 ¤ÈƱ¤¸¥¨¥é¡¼¤¬
98 .BR futimesat ()
99 ¤Ç¤âµ¯¤³¤ë¡£
100 .BR futimesat ()
101 ¤Ç¤Ï¡¢¤½¤Î¾¤Ë°Ê²¼¤Î¥¨¥é¡¼¤¬µ¯¤³¤ë:
102 .TP
103 .B EBADF
104 .I dirfd
105 ¤¬Í­¸ú¤Ê¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤Ç¤Ê¤¤¡£
106 .TP
107 .B ENOTDIR
108 .I pathname
109 ¤¬ÁêÂХѥ¹¤Ç¡¢¤«¤Ä
110 .I dirfd
111 ¤¬¥Ç¥£¥ì¥¯¥È¥ê°Ê³°¤Î¥Õ¥¡¥¤¥ë¤ò»²¾È¤¹¤ë¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤Ç¤¢¤ë¡£
112 .SH ¥Ð¡¼¥¸¥ç¥ó
113 .BR futimesat ()
114 ¤Ï Linux ¥«¡¼¥Í¥ë 2.6.16 ¤ÇÄɲ䵤줿¡£
115 .SH ½àµò
116 ¤³¤Î¥·¥¹¥Æ¥à¥³¡¼¥ë¤Ïɸ½àŪ¤Ç¤Ï¤Ê¤¤¡£
117 POSIX.1 ¤ÇÄó°Æ¤µ¤ì¤Æ¤¤¤¿»ÅÍͤËͳÍ褷¤Æ¼ÂÁõ¤µ¤ì¤¿¤¬¡¢
118 ¤½¤Î»ÅÍͤÏ
119 .BR utimensat (2)
120 ¤ÇÃÖ¤­´¹¤¨¤é¤ì¤¿¡£
121
122 Solaris ¤Ë¤Ï¡¢¤³¤ì¤ÈƱ¤¸¤è¤¦¤Ê¥·¥¹¥Æ¥à¥³¡¼¥ë¤¬Â¸ºß¤¹¤ë¡£
123 .SH Ãí°Õ
124 .SS GLIBC ¤Ë¤Ä¤¤¤Æ¤ÎÃí°Õ
125 .I pathname
126 ¤¬ NULL ¤Î¾ì¹ç¡¢glibc ¤Î
127 .BR futimesat ()
128 ¥é¥Ã¥Ñ¡¼´Ø¿ô¤Ï
129 .I dirfd
130 ¤Ç»²¾È¤µ¤ì¤ë¥Õ¥¡¥¤¥ë¤Î»þ¹ï¤ò¹¹¿·¤¹¤ë¡£
131 .\" The Solaris futimesat() also has this strangeness.
132 .SH ´ØÏ¢¹àÌÜ
133 .BR stat (2),
134 .BR utimensat (2),
135 .BR utimes (2),
136 .BR futimes (3),
137 .BR path_resolution (7)