OSDN Git Service

(split) Fixed #25191 (typo in fenv.3).
[linuxjm/LDP_man-pages.git] / release / man3 / mkdtemp.3
1 .\" Copyright 2001 John Levon <moz@compsoc.man.ac.uk>
2 .\" Based on mkstemp(3), Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
3 .\" and GNU libc documentation
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) 2001 Yuichi SATO
26 .\"         all rights reserved.
27 .\" Translated Sun Oct 21 03:28:34 JST 2001
28 .\"         by Yuichi SATO <ysato@h4.dion.ne.jp>
29 .\"
30 .TH MKDTEMP 3  2010-09-26 "GNU" "Linux Programmer's Manual"
31 .SH Ì¾Á°
32 mkdtemp \- Â¾¤È½Å¤Ê¤é¤Ê¤¤°ì»þŪ¤Ê¥Ç¥£¥ì¥¯¥È¥ê¤òºîÀ®¤¹¤ë
33 .SH ½ñ¼°
34 .nf
35 .B #include <stdlib.h>
36 .sp
37 .BI "char *mkdtemp(char *" template );
38 .fi
39 .sp
40 .in -4n
41 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
42 .RB ( feature_test_macros (7)
43 »²¾È):
44 .in
45 .sp
46 .BR mkdtemp ():
47 .br
48 .ad l
49 .RS 4
50 .PD 0
51 _BSD_SOURCE
52 .br
53 || /* Since glibc 2.10: */
54 .RS 4
55 (_POSIX_C_SOURCE\ >=\ 200809L || _XOPEN_SOURCE\ >=\ 700)
56 .ad
57 .PD
58 .RE
59 .SH ÀâÌÀ
60 .BR mkdtemp ()
61 ´Ø¿ô¤Ï¡¢Â¾¤È½Å¤Ê¤é¤Ê¤¤Ì¾Á°¤Î°ì»þŪ¤Ê¥Ç¥£¥ì¥¯¥È¥ê¤ò
62 \fItemplate\fP ¤«¤éºîÀ®¤¹¤ë¡£
63 \fItemplate\fP ¤Î¸å¤«¤é 6 Ê¸»ú¤Ï XXXXXX ¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
64 ¤³¤ÎÉôʬ¤Ï¥Ç¥£¥ì¥¯¥È¥ê̾¤ò¾¤È½Å¤Ê¤é¤Ê¤¯¤¹¤ë¤¿¤á¤Î
65 ʸ»úÎó¤ÇÃÖ¤­´¹¤¨¤é¤ì¤ë¡£
66 ¥Ç¥£¥ì¥¯¥È¥ê¤Ïµö²Ä°À­¤ò 0700 ¤È¤·¤ÆºîÀ®¤µ¤ì¤ë¡£
67 .I template
68 ¤ÏÊѹ¹¤µ¤ì¤ë¤Î¤Ç¡¢Ê¸»úÎóÄê¿ô¤Ë¤·¤Æ¤Ï¤Ê¤é¤º¡¢Ê¸»úÇÛÎó¤Ë¤¹¤Ù¤­¤Ç¤¢¤ë¡£
69 .SH ÊÖ¤êÃÍ
70 À®¸ù¤·¤¿¾ì¹ç¡¢
71 .BR mkdtemp ()
72 ´Ø¿ô¤Ï
73 Êѹ¹¤µ¤ì¤¿ template Ê¸»úÎó¤Ø¤Î¥Ý¥¤¥ó¥¿¤òÊÖ¤¹¡£
74 ¼ºÇÔ¤·¤¿¾ì¹ç¤Ï¡¢NULL ¤òÊÖ¤·¤Æ¡¢
75 .I errno
76 ¤òŬÀÚ¤ËÀßÄꤹ¤ë¡£
77 .SH ¥¨¥é¡¼
78 .TP
79 .B EINVAL
80 \fItemplate\fP ¤Î¸å¤í¤«¤é 6 Ê¸»ú¤¬ XXXXXX ¤Ç¤Ê¤¤¡£
81 ¤³¤Î¾ì¹ç¡¢\fItemplate\fP ¤ÏÊѹ¹¤µ¤ì¤Ê¤¤¡£
82 .PP
83 \fIerrno\fP ¤ËÀßÄꤵ¤ì¤ë¾¤ÎÃͤˤĤ¤¤Æ¤Ï¡¢
84 .BR mkdir (2)
85 ¤ò»²¾È¤¹¤ë¤³¤È¡£
86 .SH ¥Ð¡¼¥¸¥ç¥ó
87 OpenBSD 2.2 ¤ÇƳÆþ¤µ¤ì¤¿¡£
88 .SH ½àµò
89 POSIX.1-2008.
90 ¤³¤Î´Ø¿ô¤Ï BSD ¤Ë¸ºß¤¹¤ë¡£
91 .\" 2006 Ç¯»þÅÀ¤Ç¤Ï¡¢¤³¤Î´Ø¿ô¤Ï POSIX.1 ¤ËÆþ¤ì¤ë¤«¸¡Æ¤Ãæ¤Ç¤¢¤ë¡£
92 .\" NetBSD 1.4 ¤Ë¤â¤¢¤ë¡£
93 .SH ´ØÏ¢¹àÌÜ
94 .BR mkdir (2),
95 .BR mkstemp (3),
96 .BR mktemp (3),
97 .BR tempnam (3),
98 .BR tmpfile (3),
99 .BR tmpnam (3)