OSDN Git Service

(split) LDP man-pages の original/ を v3.29 に更新。
[linuxjm/LDP_man-pages.git] / original / man3 / mkstemp.3
index 4478853..84b474b 100644 (file)
@@ -30,7 +30,7 @@
 .\" Modified 990328, aeb
 .\" 2008-06-19, mtk, Added mkostemp(); various other changes
 .\"
-.TH MKSTEMP 3  2010-06-19 "GNU" "Linux Programmer's Manual"
+.TH MKSTEMP 3  2010-09-26 "GNU" "Linux Programmer's Manual"
 .SH NAME
 mkstemp, mkostemp \- create a unique temporary file
 .SH SYNOPSIS
@@ -52,8 +52,17 @@ Feature Test Macro Requirements for glibc (see
 .in
 .sp
 .BR mkstemp ():
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.ad l
+.RS 4
+.PD 0
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
+_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
 .br
+|| /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200112L
+.PD
+.RE
+.ad b
+.PP
 .BR mkostemp ():
 _GNU_SOURCE
 .br
@@ -179,7 +188,7 @@ and
 are glibc extensions.
 .SH NOTES
 The old behavior of creating a file with mode 0666 may be
-a security risk, especially since other Unix flavors use 0600,
+a security risk, especially since other UNIX flavors use 0600,
 and somebody might overlook this detail when porting programs.
 
 More generally, the POSIX specification of