OSDN Git Service

(split) Fixed #25191 (typo in fenv.3).
[linuxjm/LDP_man-pages.git] / release / man3 / mkfifoat.3
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-08-04 by Yuichi SATO <ysato444@yahoo.co.jp>, LDP v2.36
28 .\"
29 .TH MKFIFOAT 3 2009-12-13 "Linux" "Linux Programmer's Manual"
30 .SH Ì¾Á°
31 mkfifoat \- ¥Ç¥£¥ì¥¯¥È¥ê¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤«¤é¤ÎÁêÂаÌÃ֤ˠFIFO (̾Á°ÉÕ¤­¥Ñ¥¤¥×) ¤òºî¤ë
32 .SH ½ñ¼°
33 .nf
34 .B #include <fcntl.h>           /* AT_* Äê¿ô¤ÎÄêµÁ */
35 .B #include <sys/stat.h>
36 .sp
37 .BI "int mkfifoat(int " dirfd ", const char *" pathname ", mode_t " mode );
38 .fi
39 .sp
40 .in -4n
41 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
42 .RB ( feature_test_macros (7)
43 »²¾È):
44 .in
45 .sp
46 .BR mkfifoat ():
47 .PD 0
48 .ad l
49 .RS 4
50 .TP 4
51 glibc 2.10 °Ê¹ß:
52 _XOPEN_SOURCE\ >=\ 700 || _POSIX_C_SOURCE\ >=\ 200809L
53 .TP
54 glibc 2.10 ¤è¤êÁ°:
55 _ATFILE_SOURCE
56 .RE
57 .ad
58 .PD
59 .SH ÀâÌÀ
60 .BR mkfifoat ()
61 ¥·¥¹¥Æ¥à¥³¡¼¥ë¤Ï¡¢¤³¤Î man ¥Ú¡¼¥¸¤ÇÀâÌÀ¤·¤Æ¤¤¤ë°ã¤¤¤¬¤¢¤ë°Ê³°¤Ï¡¢
62 .BR mkfifo (3)
63 ¤ÈÁ´¤¯Æ±¤¸¤è¤¦¤ËÆ°ºî¤¹¤ë¡£
64
65 .I pathname
66 ¤Ç»ØÄꤵ¤ì¤ë¥Ñ¥¹Ì¾¤¬ÁêÂХѥ¹Ì¾¤Ç¤¢¤ë¾ì¹ç¡¢
67 ¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿
68 .I dirfd
69 ¤Ç»²¾È¤µ¤ì¤ë¥Ç¥£¥ì¥¯¥È¥ê¤«¤é¤ÎÁêÂХѥ¹Ì¾¤È¤·¤Æ²ò¼á¤µ¤ì¤ë
70 .RB ( mkfifo (3)
71 ¤Ç¤Ï¡¢ÁêÂХѥ¹¤Ï¸Æ¤Ó½Ð¤·¸µ¥×¥í¥»¥¹¤Î
72 ¥«¥ì¥ó¥È¥ï¡¼¥­¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê¤«¤é¤ÎÁêÂХѥ¹¤È¤Ê¤ë)¡£
73
74 .I pathname
75 ¤¬ÁêÂХѥ¹¤Ç¤¢¤ê¡¢¤«¤Ä
76 .I dirfd
77 ¤¬ÆÃÊ̤ÊÃÍ
78 .B AT_FDCWD
79 ¤Ç¤¢¤ë¾ì¹ç¡¢
80 .I pathname
81 ¤Ï
82 .RB ( mkfifo (3)
83 ¤ÈƱ¤¸¤è¤¦¤Ë) ¸Æ¤Ó½Ð¤·¸µ¥×¥í¥»¥¹¤Î
84 ¥«¥ì¥ó¥È¥ï¡¼¥­¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê¤«¤é¤ÎÁêÂХѥ¹Ì¾¤È¤·¤Æ²ò¼á¤µ¤ì¤ë¡£
85
86 .I pathname
87 ¤¬ÀäÂХѥ¹¤Ç¤¢¤ë¾ì¹ç¡¢
88 .I dirfd
89 ¤Ï̵»ë¤µ¤ì¤ë¡£
90 .SH ÊÖ¤êÃÍ
91 À®¸ù¤·¤¿¾ì¹ç¡¢
92 .BR mkfifoat ()
93 ¤Ï 0 ¤òÊÖ¤¹¡£
94 ¥¨¥é¡¼¤Î¾ì¹ç¡¢\-1 ¤¬ÊÖ¤µ¤ì¤Æ¡¢
95 .I errno
96 ¤Ë¤Ï¥¨¥é¡¼¤ò¼¨¤¹Ãͤ¬ÀßÄꤵ¤ì¤ë¡£
97 .SH ¥¨¥é¡¼
98 .BR mkfifo (3)
99 ¤ÈƱ¤¸¥¨¥é¡¼¤¬
100 .BR mkfifoat ()
101 ¤Ç¤âµ¯¤³¤ë¡£
102 .BR mkfifoat ()
103 ¤Ç¤Ï¡¢¤½¤Î¾¤Ë°Ê²¼¤Î¥¨¥é¡¼¤¬µ¯¤³¤ë:
104 .TP
105 .B EBADF
106 .I dirfd
107 ¤¬Í­¸ú¤Ê¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤Ç¤Ê¤¤¡£
108 .TP
109 .B ENOTDIR
110 .I pathname
111 ¤¬ÁêÂХѥ¹¤Ç¡¢¤«¤Ä
112 .I dirfd
113 ¤¬¥Ç¥£¥ì¥¯¥È¥ê°Ê³°¤Î¥Õ¥¡¥¤¥ë¤ò»²¾È¤¹¤ë¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤Ç¤¢¤ë¡£
114 .SH ¥Ð¡¼¥¸¥ç¥ó
115 .BR mkfifoat ()
116 ¤Ï glibc ¤Î¥Ð¡¼¥¸¥ç¥ó 2.4 ¤ÇÄɲ䵤줿¡£
117 ¤³¤Î¥·¥¹¥Æ¥à¥³¡¼¥ë¤Ï¡¢
118 ¥«¡¼¥Í¥ë 2.6.16 °Ê¹ß¤Î Linux ¤ÇÍøÍѤǤ­¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿
119 .BR mknod (2)
120 ¤ò»È¤Ã¤Æ¼ÂÁõ¤µ¤ì¤Æ¤¤¤ë¡£
121 .SH ½àµò
122 POSIX.1-2008.
123 .SH Ãí°Õ
124 .BR mkfifoat ()
125 ¤¬É¬ÍפÊÍýͳ¤Ë¤Ä¤¤¤Æ¤Ï¡¢
126 .BR openat (2)
127 ¤ò»²¾È¤¹¤ë¤³¤È¡£
128 .SH ´ØÏ¢¹àÌÜ
129 .BR openat (2),
130 .BR mkfifo (3),
131 .BR path_resolution (7)