OSDN Git Service

Update releases for LDP 3.68
[linuxjm/LDP_man-pages.git] / release / man2 / stat.2
index b796d49..6499c54 100644 (file)
@@ -61,7 +61,7 @@
 .\" Updated 2012-05-29, Akihiro MOTOKI <amotoki@gmail.com>
 .\" Updated 2013-03-26, Akihiro MOTOKI <amotoki@gmail.com>
 .\"
-.TH STAT 2 2014\-03\-17 Linux "Linux Programmer's Manual"
+.TH STAT 2 2014\-05\-10 Linux "Linux Programmer's Manual"
 .SH 名前
 stat, fstat, lstat, fstatat \- ファイルの状態を取得する
 .SH 書式
@@ -93,7 +93,11 @@ glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参
 .sp
 \fBlstat\fP():
 .RS 4
-_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+/* glibc 2.19 以前 */ _BSD_SOURCE ||
+.br
+/* glibc 2.20 以降 */_DEFAULT_SOURCE ||
+.br
+_XOPEN_SOURCE\ >=\ 500 || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
 .br
 || /* glibc 2.10 以降: */ _POSIX_C_SOURCE\ >=\ 200112L
 .RE
@@ -103,67 +107,65 @@ _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTEND
 .ad l
 .RS 4
 .TP  4
-Since glibc 2.10:
+glibc 2.10 以降:
 _XOPEN_SOURCE\ >=\ 700 || _POSIX_C_SOURCE\ >=\ 200809L
 .TP 
-Before glibc 2.10:
+glibc 2.10 より前:
 _ATFILE_SOURCE
 .RE
 .PD
 .ad
 .SH 説明
 .PP
-These functions return information about a file, in the buffer pointed to by
-\fIstat\fP.  No permissions are required on the file itself, but\(emin the case
-of \fBstat\fP(), \fBfstatat\fP(), and \fBlstat\fP()\(emexecute (search) permission is
-required on all of the directories in \fIpathname\fP that lead to the file.
+これらの関数は、ファイルについての情報を \fIstat\fP が指すバッファに格納して返す。 ファイルそのものに対するアクセス許可は必要としないが、
+\(em\fBstat\fP(), \fBfstatat\fP(), \fBlstat\fP() の場合には \(emそのファイルへ至る \fIpathname\fP
+を構成する全てのディレクトリに対する実行 (検索) 許可が必要である。
 .PP
-\fBstat\fP()  and \fBfstatat\fP()  retrieve information about the file pointed to
-by \fIpathname\fP; the differences for \fBfstatat\fP()  are described below.
+\fBstat\fP() と \fBfstatat\fP() は \fIpathname\fP が指すファイルに関する情報を取得する。 \fBfstatat\fP()
+の違いについては後で説明する。
 
-\fBlstat\fP()  is identical to \fBstat\fP(), except that if \fIpathname\fP is a
-symbolic link, then it returns information about the link itself, not the
-file that it refers to.
+\fBlstat\fP()  は \fBstat\fP()  と同じであるが、 \fIpathnames\fP
+がシンボリックリンクの場合、リンクが参照しているファイルではなく、 リンク自身の状態を返す点が異なる。
 
-\fBfstat\fP()  is identical to \fBstat\fP(), except that the file about which
-informat is to be retrieved is specified by the file descriptor \fIfd\fP.
+\fBfstat\fP()  は \fBstat\fP()  と同じだが、 状態を取得するファイルをファイルディスクリプタ \fIfd\fP で指定する点が異なる。
 .PP
 これらのシステムコールはいずれも、結果を \fIstat\fP 構造体に入れて返す。 \fIstat\fP 構造体には以下のフィールドが含まれている:
 .PP
 .in +4n
 .nf
 struct stat {
-    dev_t     st_dev;         /* ID of device containing file */
-    ino_t     st_ino;         /* inode number */
-    mode_t    st_mode;        /* protection */
-    nlink_t   st_nlink;       /* number of hard links */
-    uid_t     st_uid;         /* user ID of owner */
-    gid_t     st_gid;         /* group ID of owner */
-    dev_t     st_rdev;        /* device ID (if special file) */
-    off_t     st_size;        /* total size, in bytes */
-    blksize_t st_blksize;     /* blocksize for filesystem I/O */
-    blkcnt_t  st_blocks;      /* number of 512B blocks allocated */
-
-    /* Since Linux 2.6, the kernel supports nanosecond
-       precision for the following timestamp fields.
-       For the details before Linux 2.6, see NOTES. */
-
-    struct timespec st_atim;  /* time of last access */
-    struct timespec st_mtim;  /* time of last modification */
-    struct timespec st_ctim;  /* time of last status change */
-
-#define st_atime st_atim.tv_sec      /* Backward compatibility */
+    dev_t     st_dev;     /* ファイルがあるデバイスの ID */
+    ino_t     st_ino;     /* inode 番号 */
+    mode_t    st_mode;    /* アクセス保護 */
+    nlink_t   st_nlink;   /* ハードリンクの数 */
+    uid_t     st_uid;     /* 所有者のユーザ ID */
+    gid_t     st_gid;     /* 所有者のグループ ID */
+    dev_t     st_rdev;    /* デバイス ID (特殊ファイルの場合) */
+    off_t     st_size;    /* 全体のサイズ (バイト単位) */
+    blksize_t st_blksize; /* ファイルシステム I/O での
+                             ブロックサイズ */
+    blkcnt_t  st_blocks;  /* 割り当てられた 512B のブロック数 */
+};
+
+    /* Linux 2.6 以降では、カーネルは以下のタイムスタンプ
+       フィールドでナノ秒の精度をサポートしている。
+       Linux 2.6 より前のバージョンでの詳細は
+       下記の「注意」を参照。 */
+
+    struct timespec st_atim;  /* 最終アクセス時刻 */
+    struct timespec st_mtim;  /* 最終修正時刻 */
+    struct timespec st_ctim;  /* 最終状態変更時刻 */
+
+#define st_atime st_atim.tv_sec      /* 後方互換性 */
 #define st_mtime st_mtim.tv_sec
 #define st_ctime st_ctim.tv_sec
 };
 .fi
 .in
 
-\fINote:\fP the order of fields in the \fIstat\fP structure varies somewhat across
-architectures.  In addition, the definition above does not show the padding
-bytes that may be present between some fields on various architectures.
-Consult the the glibc and kernel source code if you need to know the
-details.
+\fI注意:\fP \fIstat\fP 構造体のフィールドの順序はアーキテクチャにより様々である。
+また、上記の定義では、フィールド間に存在することがあるパディングバイトは書かれていない。このパディングバイトはアーキテクチャによっても異なる。詳細を知る必要がある場合は
+glibc とカーネルのソースを調べてほしい。
 
 \fIst_dev\fP フィールドは、このファイルが存在するデバイスを示す (マクロ \fBmajor\fP(3), \fBminor\fP(3)
 は、このフィールドのデバイス ID を分解するのに役立つだろう)。
@@ -172,7 +174,7 @@ details.
 
 \fIst_size\fP フィールドは、(通常のファイルかシンボリックリンクの場合に)
 ファイルの大きさをバイト単位で示す。 シンボリックリンクの大きさは、
-シンボリックリンクに含まれている パス名の長さ (終端の NULL バイトは含まない)
+シンボリックリンクに含まれている パス名の長さ (終端のヌルバイトは含まない)
 である。
 
 \fIst_blocks\fP フィールドは、ファイルの大きさを 512 バイトのブロックサイズ単位で示す フィールドは、ファイルに割り当てされたブロック数を
@@ -197,7 +199,35 @@ details.
 
 \fIst_ctime\fP フィールドは書き込みや inode 情報 (所有者、グループ、リンク数、モードなど) の 設定によって変更される。
 .PP
-以下の POSIX マクロは、 \fIst_mode\fP フィールド で使用されるファイル種別のチェックのために定義されている :
+以下のマスク値が \fIst_mode\fP フィールドのファイル種別の検査用に定義されている。
+.in +4n
+.TS
+lB l l.
+S_IFMT 0170000 ファイル種別を示すビット領域を表すビットマスク
+
+S_IFSOCK       0140000 ソケット
+S_IFLNK        0120000 シンボリックリンク
+S_IFREG        0100000 通常のファイル
+S_IFBLK        0060000 ブロック・デバイス
+S_IFDIR        0040000 ディレクトリ
+S_IFCHR        0020000 キャラクター・デバイス
+S_IFIFO        0010000 FIFO
+.TE
+.in
+.PP
+したがって、(例えば) 通常のファイルかどうかを検査するには、以下のようにすればよい。
+
+.nf
+.in +4n
+stat(pathname, &sb);
+if ((sb.st_mode & S_IFMT) == S_IFREG) {
+    /* Handle regular file */
+}
+.in
+.fi
+.PP
+上記の形の検査はよくあるので、 POSIX では以下のマクロが定義されており、 \fIst_mode\fP
+のファイル種別の検査をより簡単に書けるようになっている。
 .RS 4
 .TP  1.2i
 \fBS_ISREG\fP(m)
@@ -222,33 +252,51 @@ FIFO (名前付きパイプ) か?
 ソケットか? (POSIX.1\-1996 にはない)
 .RE
 .PP
-以下のフラグが \fIst_mode\fP フィールド用に定義されている:
+上で挙げたコードは以下のように書き換えることができる。
+
+.nf
+.in +4n
+stat(pathname, &sb);
+if (S_ISREG(sb.st_mode)) {
+    /* Handle regular file */
+}
+.in
+.fi
+.PP
+上記のほとんどのファイル種別検査マクロの定義は、 機能検査マクロ \fB_BSD_SOURCE\fP (glibc 2.19 以前の場合)、
+\fB_SVID_SOURCE\fP (glibc 2.19 以前の場合)、 \fB_DEFAULT_SOURCE\fP (glibc 2.20 以降の場合)
+のいずれかが定義されている場合に公開される。 さらに、 \fBS_IFSOCK\fP と \fBS_ISSOCK\fP 以外の上記のすべてのマクロの定義は
+\fB_XOPEN_SOURCE\fP が定義されている場合にも公開される。 \fBS_IFSOCK\fP の定義は \fB_XOPEN_SOURCE\fP が値 500
+以上で定義された場合にも公開される。
+
+\fBS_ISSOCK\fP() の定義が公開されるのは以下の機能検査マクロが定義されている場合である: \fB_BSD_SOURCE\fP (glibc 2.19
+以前の場合)、 \fB_DEFAULT_SOURCE\fP (glibc 2.20 以降の場合)、 値 500 以上の \fB_XOPEN_SOURCE\fP、
+値が 200112L 以上の \fB_POSIX_C_SOURCE\fP。
+.PP
+以下のマスク値が \fIst_mode\fP フィールドのファイルのアクセス許可の検査用に定義されている。
 .in +4n
 .TS
 lB l l.
-S_IFMT 0170000 ファイル種別を示すビット領域を表すビットマスク
-S_IFSOCK       0140000 ソケット
-S_IFLNK        0120000 シンボリックリンク
-S_IFREG        0100000 通常のファイル
-S_IFBLK        0060000 ブロック・デバイス
-S_IFDIR        0040000 ディレクトリ
-S_IFCHR        0020000 キャラクター・デバイス
-S_IFIFO        0010000 FIFO
 S_ISUID        0004000 set\-user\-ID bit
 S_ISGID        0002000 set\-group\-ID bit (下記参照)
 S_ISVTX        0001000 スティッキー・ビット (下記参照)
-S_IRWXU        00700   ファイル所有者のアクセス許可用のビットマスク
-S_IRUSR        00400   所有者の読み込み許可
-S_IWUSR        00200   所有者の書き込み許可
-S_IXUSR        00100   所有者の実行許可
-S_IRWXG        00070   グループのアクセス許可用のビットマスク
-S_IRGRP        00040   グループの読み込み許可
-S_IWGRP        00020   グループの書き込み許可
-S_IXGRP        00010   グループの実行許可
-S_IRWXO        00007   他人 (others) のアクセス許可用のビットマスク
-S_IROTH        00004   他人の読み込み許可
-S_IWOTH        00002   他人の書き込み許可
-S_IXOTH        00001   他人の実行許可
+
+S_IRWXU          00700 ファイル所有者のアクセス許可用のビットマスク
+S_IRUSR          00400 所有者の読み込み許可
+S_IWUSR          00200 所有者の書き込み許可
+S_IXUSR          00100 所有者の実行許可
+
+S_IRWXG          00070 グループのアクセス許可用のビットマスク
+S_IRGRP          00040 グループの読み込み許可
+S_IWGRP          00020 グループの書き込み許可
+S_IXGRP          00010 グループの実行許可
+
+S_IRWXO          00007 T{
+他人 (others) のアクセス許可用のビットマスク
+T}
+S_IROTH          00004 他人の読み込み許可
+S_IWOTH          00002 他人の書き込み許可
+S_IXOTH          00001 他人の実行許可
 .TE
 .in
 .P
@@ -265,46 +313,38 @@ BSD 方式で使用される ことを示す。つまり、そのディレクト
 .SS fstatat()
 \fBfstatat\fP() システムコールは \fBstat\fP() と全く同様に動作するが、以下で説明する点が異なる。
 
-If the pathname given in \fIpathname\fP is relative, then it is interpreted
-relative to the directory referred to by the file descriptor \fIdirfd\fP
-(rather than relative to the current working directory of the calling
-process, as is done by \fBstat\fP()  for a relative pathname).
+指定された \fIpathname\fP が相対パスの場合、 ファイルディスクリプタ \fIdirfd\fP が参照するディレクトリに対する相対パスと解釈される
+(\fBstat\fP() に相対パスを渡した場合のように、呼び出したプロセスのカレントワーキングディレクトリに対する相対パスではない)。
 
-If \fIpathname\fP is relative and \fIdirfd\fP is the special value \fBAT_FDCWD\fP,
-then \fIpathname\fP is interpreted relative to the current working directory of
-the calling process (like \fBstat\fP()).
+\fIpathname\fP が相対パスで、 \fIdirfd\fP が特別な値 \fBAT_FDCWD\fP の場合、 (\fBstat\fP(2) と同様に)
+\fIpathname\fP は呼び出したプロセスのカレントワーキングディレクトリに対する相対パスと解釈される。
 
-If \fIpathname\fP is absolute, then \fIdirfd\fP is ignored.
+\fIpathname\fP で指定されたパス名が絶対パスの場合、 \fIdirfd\fP は無視される。
 
-\fIflags\fP can either be 0, or include one or more of the following flags
-ORed:
+この \fIflags\fP 引き数は下記のフラグの 0 個以上の論理和を取ったものである:
 .TP 
 \fBAT_EMPTY_PATH\fP (Linux 2.6.39 以降)
 .\" commit 65cfc6722361570bfe255698d9cd4dccaf47570d
 .\" Before glibc 2.16, defining _ATFILE_SOURCE sufficed
-If \fIpathname\fP is an empty string, operate on the file referred to by
-\fIdirfd\fP (which may have been obtained using the \fBopen\fP(2)  \fBO_PATH\fP
-flag).  In this case, \fIdirfd\fP can refer to any type of file, not just a
-directory.  This flag is Linux\-specific; define \fB_GNU_SOURCE\fP to obtain its
-definition.
+\fIpathname\fP が空文字列の場合、 \fIdirfd\fP が参照するファイルに対して操作を行う (\fIdirfd\fP は \fBopen\fP(2) の
+\fBO_PATH\fP フラグを使って取得できる)。 \fBdirfd\fP が \fBAT_FDCWD\fP
+の場合、呼び出しはカレントワーキングディレクトリに対して操作を行う。 この場合、 \fIdirfd\fP
+は、ディレクトリだけでなく、任意のタイプのファイルを参照することができる。 このフラグは Linux 固有であり、その定義を得るには
+\fB_GNU_SOURCE\fP を定義すること。
 .TP 
 \fBAT_NO_AUTOMOUNT\fP (Linux 2.6.38 以降)
 .\" Before glibc 2.16, defining _ATFILE_SOURCE sufficed
-Don't automount the terminal ("basename") component of \fIpathname\fP if it is
-a directory that is an automount point.  This allows the caller to gather
-attributes of an automount point (rather than the location it would mount).
-This flag can be used in tools that scan directories to prevent
-mass\-automounting of a directory of automount points.  The
-\fBAT_NO_AUTOMOUNT\fP flag has no effect if the mount point has already been
-mounted over.  This flag is Linux\-specific; define \fB_GNU_SOURCE\fP to obtain
-its definition.
+\fIpathname\fP がオートマウントポイントとなっているディレクトリの場合、 \fIpathname\fP の最終 ("basename")
+要素のオートマウントを行わない。 これにより (マウントされるはずの場所ではなく) オートマウントポイントの属性を取得することができる。
+このフラグを使うと、 ディレクトリをスキャンするツールがオートマウントポイントのディレクトリを大量にオートマウントしてしまうのを防ぐことができる。
+マウントポイントがすでにマウントされている場合 \fBAT_NO_AUTOMOUNT\fP フラグは何の効果もない。 このフラグは Linux
+固有であり、その定義を得るには \fB_GNU_SOURCE\fP を定義すること。
 .TP 
 \fBAT_SYMLINK_NOFOLLOW\fP
-If \fIpathname\fP is a symbolic link, do not dereference it: instead return
-information about the link itself, like \fBlstat\fP().  (By default,
-\fBfstatat\fP()  dereferences symbolic links, like \fBstat\fP().)
+(\fBlstat\fP() 同様) \fIpathname\fP がシンボリックリンクの場合リンクの展開を行わず、 リンク自身の情報を返す (デフォルトでは、
+\fBfstatat\fP() は、 \fBstat\fP() と同様に、シンボリックリンクの展開を行う)。
 .PP
-See \fBopenat\fP(2)  for an explanation of the need for \fBfstatat\fP().
+\fBfstatat\fP() の必要性についての説明については \fBopenat\fP(2) を参照。
 .SH 返り値
 成功した場合、0 が返される。 失敗した場合、 \-1 が返され、 \fIerrno\fP に適切な値がセットされる。
 .SH エラー
@@ -342,20 +382,19 @@ See \fBopenat\fP(2)  for an explanation of the need for \fBfstatat\fP().
 ファイルサイズが \fI(1<<31)\-1\fP バイトを超えるファイルに対して
 \fBstat\fP() を呼び出した場合である。
 .PP
-The following additional errors can occur for \fBfstatat\fP():
+\fBfstatat\fP() では以下のエラーも発生することがある。
 .TP 
 \fBEBADF\fP
 \fIdirfd\fP が有効なファイルディスクリプタでない。
 .TP 
 \fBEINVAL\fP
-Invalid flag specified in \fIflags\fP.
+\fIflags\fP に無効なフラグが指定された。
 .TP 
 \fBENOTDIR\fP
-\fIpathname\fP is relative and \fIdirfd\fP is a file descriptor referring to a
-file other than a directory.
+\fIpathname\fP が相対パスで、 \fIdirfd\fP がディレクトリ以外のファイルを参照しているファイルディスクリプタである。
 .SH バージョン
-\fBfstatat\fP()  was added to Linux in kernel 2.6.16; library support was added
-to glibc in version 2.4.
+\fBfstatat\fP()  はカーネル 2.6.16 で Linux に追加された。 ライブラリによるサポートはバージョン 2.4 で glibc
+に追加された。
 .SH 準拠
 .\" SVr4 documents additional
 .\" .BR fstat ()
@@ -392,7 +431,7 @@ POSIX.1\-1990 には \fBS_IFMT\fP, \fBS_IFSOCK\fP, \fBS_IFLNK\fP, \fBS_IFREG\fP,
 POSIX.1\-2001 には両方とも存在する。 前者は SVID 4 に、後者は SUSv2 に
 由来している。
 .LP
-UNIX V7 (とその後のシステム) は \fBS_IREAD\fP, \fBS_IWRITE\fP, \fBS_IEXEC\fP を持っており、
+UNIX\ V7 (とその後のシステム) は \fBS_IREAD\fP, \fBS_IWRITE\fP, \fBS_IEXEC\fP を持っており、
 POSIX はその同義語として \fBS_IRUSR\fP, \fBS_IWUSR\fP, \fBS_IXUSR\fP を規定している。
 .SS 他のシステム
 各種システムで使用されていた(いる)値:
@@ -458,28 +497,22 @@ Linux では、 \fBlstat\fP() は一般には自動マウント動作 (automount
 
 \fI/proc\fP ディレクトリ以下にあるファイルのほとんどでは、 \fBstat\fP()  を呼び出した際に、 \fIst_size\fP
 フィールドにファイルサイズが返されない。 代わりに \fIst_size\fP フィールドには 0 が返される。
-.SS "Timestamp fields"
-Older kernels and older standards did not support nanosecond timestamp
-fields.  Instead, there were three timestamp fields\(em\fIst_atime\fP,
-\fIst_mtime\fP, and \fIst_ctime\fP\(emtyped as \fItime_t\fP that recorded timestamps
-with one\-second precision.
-
-Since kernel 2.5.48, the \fIstat\fP structure supports nanosecond resolution
-for the three file timestamp fields.  The nanosecond components of each
-timestamp are available via names of the form \fIst_atim.tv_nsec\fP if the
-\fB_BSD_SOURCE\fP or \fB_SVID_SOURCE\fP feature test macro is defined.  Nanosecond
-timestamps are nowadays standardized, starting with POSIX.1\-2008, and,
-starting with version 2.12, glibc also exposes the nanosecond component
-names if \fB_POSIX_C_SOURCE\fP is defined with the value 200809L or greater, or
-\fB_XOPEN_SOURCE\fP is defined with the value 700 or greater.  If none of the
-aforementioned macros are defined, then the nanosecond values are exposed
-with names of the form \fIst_atimensec\fP.
+.SS タイムスタンプフィールド
+古いカーネルや古い標準では、ナノ秒精度のタイムスタンプフィールドはサポートされていなかった。 代わりに 3 つの \fItime_t\fP
+型のタイムスタンプフィールド \fIst_atime\fP, \fIst_mtime\fP, and \fIst_ctime\fP があった。これらのフィールドには 1
+秒単位のタイムスタンプが記録されていた。
+
+カーネル 2.5.48 以降では、 \fIstat\fP 構造体は 3 つのファイルのタイムスタンプ関連のフィールドでナノ秒単位の精度に対応している。
+機能検査マクロ \fB_BSD_SOURCE\fP か \fB_SVID_SOURCE\fP が定義された場合に、各タイムスタンプのナノ秒の情報は
+\fIst_atim.tv_nsec\fP という形式の名前で参照できる。 ナノ秒のタイムスタンプは現在では標準化されており、 POSIX.1\-2008
+からである。 バージョン 2.12 以降の glibc では、 \fB_POSIX_C_SOURCE\fP が 200809L 以上の値で定義されるか、
+\fB_XOPEN_SOURCE\fP が 700 以上の値で定義された場合にも、 このナノ秒のタイムスタンプが公開される。
+上記のマクロのいずれも定義されていない場合、ナノ秒の値は \fIst_atimensec\fP という形式の名前で公開される。
 
 .\" commit ef7f38359ea8b3e9c7f2cae9a4d4935f55ca9e80
-Nanosecond timestamps are supported on XFS, JFS, Btrfs, and ext4 (since
-Linux 2.6.23).  Nanosecond timestamps are not supported in ext2, ext3, and
-Resierfs.  On filesystems that do not support subsecond timestamps, the
-nanosecond fields are returned with the value 0.
+ナノ秒のタイムスタンプは XFS, JFS, Btrfs, ext4 でサポートされている (Linux 2.6.23 以降)。
+ナノ秒のタイムスタンプは ext2, ext3, Reiserfs ではサポートされていない。
+サブ秒のタイムスタンプをサポートしていないファイルシステムでは、 ナノ秒のフィールドには値 0 が入る。
 .SS 背後のカーネル・インタフェース
 .\"
 .\" A note from Andries Brouwer, July 2007
@@ -516,8 +549,7 @@ nanosecond fields are returned with the value 0.
 具体的には、カーネルが提供しているシステムコールのうち最新のバージョンを 起動し、古いバイナリの場合には必要に応じて返された情報を再構成
 (repack) する。 \fBfstat\fP()  と \fBlstat\fP()  についても同様である。
 
-The underlying system call employed by the glibc \fBfstatat\fP()  wrapper
-function is actually called \fBfstatat64\fP().
+glibc の \fBfstatat\fP() ラッパー関数が内部で利用するシステムコールは、実際には \fBfstatat64\fP() である。
 .SH 例
 以下のプログラムは \fBstat\fP()  を呼び出し、返ってきた \fIstat\fP 構造体のフィールドのいくつかを表示する。
 .nf
@@ -583,6 +615,6 @@ main(int argc, char *argv[])
 \fBls\fP(1), \fBstat\fP(1), \fBaccess\fP(2), \fBchmod\fP(2), \fBchown\fP(2),
 \fBreadlink\fP(2), \fButime\fP(2), \fBcapabilities\fP(7), \fBsymlink\fP(7)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.63 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.68 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。