OSDN Git Service

(split) LDP: Update release (3.64)
[linuxjm/LDP_man-pages.git] / release / man3 / canonicalize_file_name.3
index 6bebd8d..8fd6521 100644 (file)
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH CANONICALIZE_FILE_NAME 3 2013\-03\-10 GNU "Linux Programmer's Manual"
+.\"
+.\" Japanese Version Copyright (c) 2005 Akihiro MOTOKI all rights reserved.
+.\" Translated 2005-09-06, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
+.\" Updated 2013-05-04, Akihiro MOTOKI <amotoki@gmail.com>
+.\" Updated 2013-07-15, Akihiro MOTOKI <amotoki@gmail.com>
+.\"
+.TH CANONICALIZE_FILE_NAME 3 2013\-05\-11 GNU "Linux Programmer's Manual"
 .SH 名前
 canonicalize_file_name \- 正規化された絶対パス名を返す
 .SH 書式
@@ -38,31 +44,27 @@ canonicalize_file_name \- 正規化された絶対パス名を返す
 .sp
 \fBchar *canonicalize_file_name(const char *\fP\fIpath\fP\fB);\fP
 .SH 説明
-The \fBcanonicalize_file_name\fP()  function returns a null\-terminated string
-containing the canonicalized absolute pathname corresponding to \fIpath\fP.  In
-the returned string, symbolic links are resolved, as are \fI.\fP and \fI..\fP
-pathname components.  Consecutive slash (\fI/\fP)  characters are replaced by a
-single slash.
+\fBcanonicalize_file_name\fP() 関数は \fIpath\fP に対応する正規化された絶対パス名を示す NULL
+終端された文字列を返す。返された文字列では、シンボリックリンクや、パス名に含まれる \fI.\fP や \fI..\fP は展開される。連続するスラッシュ
+(\fI/\fP) 文字はスラッシュ一つに置換される。
 
-The returned string is dynamically allocated by \fBcanonicalize_file_name\fP()
-and the caller should deallocate it with \fBfree\fP(3)  when it is no longer
-required.
+返される文字列は \fBcanonicalize_file_name\fP() により動的に割り当てられる。呼び出し側は、必要なくなった際にはこの文字列を
+\fBfree\fP(3) で解放すべきである。
 
 \fIcanonicalize_file_name(path)\fP は以下と等価である。
 
     realpath(path, NULL);
-.SH 準拠
-この関数は GNU による拡張である。
 .SH 返り値
-On success, \fBcanonicalize_file_name\fP()  returns a null\-terminated string.
-On error (e.g., a pathname component is unreadable or does not exist),
-\fBcanonicalize_file_name\fP()  returns NULL and sets \fIerrno\fP to indicate the
-error.
+成功すると、 \fBcanonicalize_file_name\fP() は NULL 終端された文字列を返す。エラーの場合
+(例えば、パス名の中に読み込めなかったり存在しないパスが含まれている場合など)、 \fBcanonicalize_file_name\fP() は NULL
+を返し、 \fIerrno\fP にエラー内容を示す値を設定する。
 .SH エラー
 \fBrealpath\fP(3) 参照。
+.SH 準拠
+この関数は GNU による拡張である。
 .SH 関連項目
 \fBreadlink\fP(2), \fBrealpath\fP(3)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.51 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.64 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。