OSDN Git Service

(split) LDP: Update release pages
[linuxjm/LDP_man-pages.git] / release / man2 / listxattr.2
index 7294668..bad3d7c 100644 (file)
@@ -53,13 +53,11 @@ listxattr, llistxattr, flistxattr \- 拡張属性の名前リストを得る
 これらは、システム上のすべての inode に関連付けられた通常の属性 (\fBstat\fP(2)  が返すデータ) を拡張するものである。
 拡張属性のコンセプトは \fBattr\fP(5)  に書かれている。
 .PP
-\fBlistxattr\fP()  retrieves the list of extended attribute names associated
-with the given \fIpath\fP in the filesystem.  The retrieved list is placed in
-\fIlist\fP, a caller\-allocated buffer whose size (in bytes) is specified in the
-argument \fIsize\fP.  The list is the set of (null\-terminated) names, one after
-the other.  Names of extended attributes to which the calling process does
-not have access may be omitted from the list.  The length of the attribute
-name \fIlist\fP is returned.
+\fBlistxattr\fP()  は、ファイルシステム内の指定された \fIpath\fP に対応する拡張属性の名前リストを取得する。取得したリストは
+\fIlist\fP に格納される。 \fIlist\fP は呼び出し側で確保するバッファで、引き数 \fIsize\fP でバッファのサイズを (バイト単位で)
+指定する。リストは名前の集合で、 NULL
+終端された文字列が連続して並んでいる。呼び出したプロセスがアクセスする権限のない拡張属性の名前は、リストに含まれない。拡張属性の名前の \fIlist\fP
+の長さが返される。
 .PP
 \fBllistxattr\fP()  は \fBlistxattr\fP()  と同じだが、シンボリックリンクの場合に、リンクが参照しているファイル
 ではなく、リンクそのものの拡張属性の名前リストを取得する点だけが異なる。
@@ -99,7 +97,7 @@ system.posix_acl_access\e0system.posix_acl_default\e0
 .SH エラー
 .TP 
 \fBENOTSUP\fP
-Extended attributes are not supported by the filesystem, or are disabled.
+拡張属性がそのファイルシステムでサポートされていない、 もしくは無効になっている。
 .TP 
 \fBERANGE\fP
 \fIlist\fP バッファの大きさ \fIsize\fP が結果を保持するのに十分な大きさでなかった。