OSDN Git Service

(split) LDP: Update the version to 3.53 in PO files
[linuxjm/LDP_man-pages.git] / draft / man2 / symlinkat.2
index 2ee2978..35b88de 100644 (file)
@@ -1,7 +1,6 @@
-.\" Hey Emacs! This file is -*- nroff -*- source.
-.\"
 .\" This manpage is Copyright (C) 2006, Michael Kerrisk
 .\"
+.\" %%%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
+.\"
+.\"*******************************************************************
 .\"
-.\" Japanese Version Copyright (c) 2006 Yuichi SATO
-.\"         all rights reserved.
-.\" Translated 2006-08-29 by Yuichi SATO <ysato444@yahoo.co.jp>, LDP v2.39
+.\" This file was generated with po4a. Translate the source file.
 .\"
-.TH SYMLINKAT 2 2009-12-13 "Linux" "Linux Programmer's Manual"
-.\"O .SH NAME
+.\"*******************************************************************
+.TH SYMLINKAT 2 2012\-05\-04 Linux "Linux Programmer's Manual"
 .SH 名前
-.\"O symlinkat \- create a symbolic link relative to a directory file descriptor
 symlinkat \- ディレクトリファイルディスクリプタから相対的な位置にシンボリックリンクを作成する
-.\"O .SH SYNOPSIS
 .SH 書式
 .nf
-.\"O .B #include <fcntl.h>           /* Definition of AT_* constants */
-.B #include <fcntl.h>           /* AT_* 定数の定義 */
-.B #include <stdio.h>
+\fB#include <fcntl.h> /* AT_* 定数の定義 */\fP
+\fB#include <unistd.h>\fP
 .sp
-.BI "int symlinkat(const char *" oldpath ", int " newdirfd \
-", const char *" newpath );
+\fBint symlinkat(const char *\fP\fIoldpath\fP\fB, int \fP\fInewdirfd\fP\fB, const char *\fP\fInewpath\fP\fB);\fP
 .fi
 .sp
 .in -4n
-.\"O Feature Test Macro Requirements for glibc (see
-.\"O .BR feature_test_macros (7)):
-glibc 向けの機能検査マクロの要件
-.RB ( feature_test_macros (7)
-参照):
+glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
 .in
 .sp
-.BR symlinkat ():
+\fBsymlinkat\fP():
 .PD 0
 .ad l
 .RS 4
-.TP 4
-.\"O Since glibc 2.10:
-Since glibc 2.10 以降:
+.TP  4
+glibc 2.10 以降:
 _XOPEN_SOURCE\ >=\ 700 || _POSIX_C_SOURCE\ >=\ 200809L
-.TP
-.\"O Before glibc 2.10:
+.TP 
 glibc 2.10 より前:
 _ATFILE_SOURCE
 .RE
 .ad
 .PD
-.\"O .SH DESCRIPTION
 .SH 説明
-.\"O The
-.\"O .BR symlinkat ()
-.\"O system call operates in exactly the same way as
-.\"O .BR symlink (2),
-.\"O except for the differences described in this manual page.
-.BR symlinkat ()
-システムコールは、この man ページで説明している違いがある以外は、
-.BR symlink (2)
+\fBsymlinkat\fP()  システムコールは、この man ページで説明している違いがある以外は、 \fBsymlink\fP(2)
 と全く同じように動作する。
 
-.\"O If the pathname given in
-.\"O .I newpath
-.\"O is relative, then it is interpreted relative to the directory
-.\"O referred to by the file descriptor
-.\"O .I newdirfd
-.\"O (rather than relative to the current working directory of
-.\"O the calling process, as is done by
-.\"O .BR symlink (2)
-.\"O for a relative pathname).
-.I newpath
-で指定されるパス名が相対パスである場合、
-ファイルディスクリプタ
-.I newdirfd
-で参照されるディレクトリからの相対パス名として解釈される
-.RB ( symlink (2)
-では、相対パスは呼び出し元プロセスの
+\fInewpath\fP で指定されるパス名が相対パスである場合、 ファイルディスクリプタ \fInewdirfd\fP
+で参照されるディレクトリからの相対パス名として解釈される (\fBsymlink\fP(2)  では、相対パスは呼び出し元プロセスの
 カレントワーキングディレクトリからの相対パスとなる)。
 
-.\"O If
-.\"O .I newpath
-.\"O is relative and
-.\"O .I newdirfd
-.\"O is the special value
-.\"O .BR AT_FDCWD ,
-.\"O then
-.\"O .I newpath
-.\"O is interpreted relative to the current working
-.\"O directory of the calling process (like
-.\"O .BR symlink (2)).
-.I newpath
-が相対パスであり、かつ
-.I newdirfd
-が特別な値
-.B AT_FDCWD
-である場合、
-.I newpath
-は
-.RB ( symlink (2)
-と同じように) 呼び出し元プロセスの
-カレントワーキングディレクトリからの相対パス名として解釈される。
+\fInewpath\fP が相対パスであり、かつ \fInewdirfd\fP が特別な値 \fBAT_FDCWD\fP である場合、 \fInewpath\fP は
+(\fBsymlink\fP(2)  と同じように) 呼び出し元プロセスの カレントワーキングディレクトリからの相対パス名として解釈される。
 
-.\"O If
-.\"O .I newpath
-.\"O is absolute, then
-.\"O .I newdirfd
-.\"O is ignored.
-.I newpath
-が絶対パスである場合、
-.I newdirfd
-は無視される。
-.\"O .SH "RETURN VALUE"
+\fInewpath\fP が絶対パスである場合、 \fInewdirfd\fP は無視される。
 .SH 返り値
-.\"O On success,
-.\"O .BR symlinkat ()
-.\"O returns 0.
-成功した場合、
-.BR symlinkat ()
-は 0 を返す。
-.\"O On error, \-1 is returned and
-.\"O .I errno
-.\"O is set to indicate the error.
-エラーの場合、\-1 が返されて、
-.I errno
-にはエラーを示す値が設定される。
-.\"O .SH ERRORS
+成功した場合、 \fBsymlinkat\fP()  は 0 を返す。 エラーの場合、\-1 が返されて、 \fIerrno\fP にはエラーを示す値が設定される。
 .SH エラー
-.\"O The same errors that occur for
-.\"O .BR symlink (2)
-.\"O can also occur for
-.\"O .BR symlinkat ().
-.BR symlink (2)
-と同じエラーが
-.BR symlinkat ()
-でも起こる。
-.\"O The following additional errors can occur for
-.\"O .BR symlinkat ():
-.BR symlinkat ()
+\fBsymlink\fP(2)  と同じエラーが \fBsymlinkat\fP()  でも起こる。 \fBsymlinkat\fP()
 では、その他に以下のエラーが起こる:
-.TP
-.B EBADF
-.\"O .I newdirfd
-.\"O is not a valid file descriptor.
-.I newdirfd
-が有効なファイルディスクリプタでない。
-.TP
-.B ENOTDIR
-.\"O .I newpath
-.\"O is relative and
-.\"O .I newdirfd
-.\"O is a file descriptor referring to a file other than a directory.
-.I newpath
-が相対パスで、かつ
-.I newdirfd
-がディレクトリ以外のファイルを参照するファイルディスクリプタである。
-.\"O .SH VERSIONS
+.TP 
+\fBEBADF\fP
+\fInewdirfd\fP が有効なファイルディスクリプタでない。
+.TP 
+\fBENOTDIR\fP
+\fInewpath\fP が相対パスで、かつ \fInewdirfd\fP がディレクトリ以外のファイルを参照するファイルディスクリプタである。
 .SH バージョン
-.\"O .BR symlinkat ()
-.\"O was added to Linux in kernel 2.6.16.
-.BR symlinkat ()
-は Linux カーネル 2.6.16 で追加された。
-.\"O .SH "CONFORMING TO"
+\fBsymlinkat\fP()  は Linux カーネル 2.6.16 で追加された。
+ライブラリによるサポートは glibc バージョン 2.4 で追加された。
 .SH 準拠
-POSIX.1-2008.
-.\"O .SH NOTES
+POSIX.1\-2008.
 .SH 注意
-.\"O See
-.\"O .BR openat (2)
-.\"O for an explanation of the need for
-.\"O .BR symlinkat ().
-.BR symlinkat ()
-が必要な理由については、
-.BR openat (2)
-を参照すること。
-.\"O .SH "SEE ALSO"
+\fBsymlinkat\fP()  が必要な理由については、 \fBopenat\fP(2)  を参照すること。
 .SH 関連項目
-.BR openat (2),
-.BR symlink (2),
-.BR path_resolution (7),
-.BR symlink (7)
+\fBopenat\fP(2), \fBsymlink\fP(2), \fBpath_resolution\fP(7), \fBsymlink\fP(7)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.53 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。