OSDN Git Service

Release some pages for LDP v3.79
[linuxjm/LDP_man-pages.git] / release / man2 / fchownat.2
index ac72bab..b4d2487 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
 .\"
 .\"*******************************************************************
 .\"
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH FCHOWNAT 2 2009\-12\-13 Linux "Linux Programmer's Manual"
+.\"
+.\" Japanese Version Copyright (c) 2006 Yuichi SATO
+.\"         all rights reserved.
+.\" Translated 2006-10-14 by Yuichi SATO <ysato444@yahoo.co.jp>, LDP v2.39
+.\" Updated 2013-08-21, Akihiro MOTOKI <amotoki@gmail.com>, LDP v3.53
+.\"
+.TH FCHOWNAT 2 2013\-07\-21 Linux "Linux Programmer's Manual"
 .SH 名前
 fchownat \- ディレクトリファイルディスクリプタから相対的な位置にあるファイルの所有者を変更する
 .SH 書式
@@ -70,7 +75,14 @@ _ATFILE_SOURCE
 
 \fIpathname\fP が絶対パスである場合、 \fIdirfd\fP は無視される。
 
-\fIflags\fP は 0 または以下のフラグである。
+\fIflags\fP 引き数は、 以下の値を 0 個以上 OR して作られるビットマスクである。
+.TP 
+\fBAT_EMPTY_PATH\fP (Linux 2.6.39 以降)
+.\" commit 65cfc6722361570bfe255698d9cd4dccaf47570d
+\fIpathname\fP が空の文字列の場合、 \fIdirfd\fP が参照するファイルに対して操作が行われる (\fIdirfd\fP は \fBopen\fP(2)
+の \fBO_PATH\fP フラグを使って取得することができる)。 この場合、 \fIdirfd\fP は、
+ディレクトリだけでなく、任意の種類のファイルを参照することができる。
+
 .TP 
 \fBAT_SYMLINK_NOFOLLOW\fP
 \fIpathname\fP がシンボリックリンクの場合は、それを辿るのではなく、 \fBlchown\fP(2)  と同様にリンク自身に対して (所有者の変更の)
@@ -90,6 +102,7 @@ _ATFILE_SOURCE
 \fIpathname\fP が相対パスで、かつ \fIdirfd\fP がディレクトリ以外のファイルを参照するファイルディスクリプタである。
 .SH バージョン
 \fBfchownat\fP()  は Linux カーネル 2.6.16 で追加された。
+ライブラリによるサポートは glibc バージョン 2.4 で追加された。
 .SH 準拠
 POSIX.1\-2008.  Solaris には、これと同じようなシステムコールが存在する。
 .SH 注意
@@ -97,6 +110,6 @@ POSIX.1\-2008.  Solaris には、これと同じようなシステムコール
 .SH 関連項目
 \fBchown\fP(2), \fBopenat\fP(2), \fBpath_resolution\fP(7), \fBsymlink\fP(7)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.40 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.54 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。