OSDN Git Service

(split) LDP: Update draft pages
[linuxjm/LDP_man-pages.git] / draft / man3 / tempnam.3
index 8b24216..6e5687e 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright (c) 1999 Andries Brouwer (aeb@cwi.nl)
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .\"*******************************************************************
 .\"
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH TEMPNAM 3 2008\-08\-06 "" "Linux Programmer's Manual"
+.TH TEMPNAM 3 2013\-04\-19 "" "Linux Programmer's Manual"
 .SH 名前
 tempnam \- テンポラリファイルの名前を作成する
 .SH 書式
@@ -41,7 +43,7 @@ glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参
 .sp
 \fBtempnam\fP(): _BSD_SOURCE || _SVID_SOURCE
 .SH 説明
-\fBtempnam\fP()  é\96¢æ\95°ã\81¯ã\83\95ã\82¡ã\82¤ã\83«å\90\8dã\81¨ã\81\97ã\81¦æ­£ã\81\97ã\81\84æ\96\87å­\97å\88\97ã\81¸ã\81®ã\83\9dã\82¤ã\83³ã\82¿ã\83¼ã\82\92è¿\94ã\81\99ã\80\82 ã\81\93ã\81®ã\83\95ã\82¡ã\82¤ã\83«å\90\8dã\82\92æ\8c\81ã\81¤ã\83\95ã\82¡ã\82¤ã\83«ã\81¯ã\80\81 \fBtempnam\fP()
+\fBtempnam\fP()  関数はファイル名として正しい文字列へのポインタを返す。 このファイル名を持つファイルは、 \fBtempnam\fP()
 がチェックした時点においては存在しない (しなかった)。 \fIpfx\fP が NULL でない 5 バイト以内の文字列であれば、
 生成されるパス名のうちのファイル名の部分は \fIpfx\fP から始まるものになる。 生成されるディレクトリの部分は、「適切」でなければならない
 (大抵の場合、「適切」であるためにはまず少なくとも 書き込み可能でなければならない)。
@@ -62,7 +64,8 @@ d)
 .PP
 \fBtempnam\fP()  が返す文字列は \fBmalloc\fP(3)  を使って確保される。そのため、 \fBfree\fP(3)  で解放すべきである。
 .SH 返り値
-\fBtempnam\fP()  関数は他と重ならないテンポラリファイル名へのポインタを返す。 他と重ならない名前が生成できなければ NULL を返す。
+成功すると \fBtempnam\fP()  関数は、一意なテンポラリファイル名へのポインタを返す。 一意な名前が生成できなければ NULL を返し、
+\fIerrno\fP にエラーの原因を示す値を設定する。
 .SH エラー
 .TP 
 \fBENOMEM\fP
@@ -95,3 +98,7 @@ SUSv2 では \fBTMPDIR\fP に付いて言及されていない。 glibc は、
 決してこの関数を使ってはならない。代わりに \fBmkstemp\fP(3)  か \fBtmpfile\fP(3)  を使うこと。
 .SH 関連項目
 \fBmkstemp\fP(3), \fBmktemp\fP(3), \fBtmpfile\fP(3), \fBtmpnam\fP(3)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。