呼び出し元プロセスが特権プロセス (つまり、プロセスの実 UID が 0) の場合、 通常のファイルに対する \fBX_OK\fP
のチェックは、そのファイルの所有者、グループ、他人のいずれかの 実行許可が有効になっていれば成功する。
.SH 返り値
-On success (all requested permissions granted, or \fImode\fP is \fBF_OK\fP and the
-file exists), zero is returned. On error (at least one bit in \fImode\fP asked
-for a permission that is denied, or \fImode\fP is \fBF_OK\fP and the file does not
-exist, or some other error occurred), \-1 is returned, and \fIerrno\fP is set
-appropriately.
+成功した場合 (要求した全てについて許可が得られたか、 \fImode\fP が \fBF_OK\fP でファイルが存在した場合)、ゼロが返される。 エラーの場合
+(\fImode\fP の少なくとも一つのビットで要求した許可がなかった場合、 \fImode\fP が \fBF_OK\fP
+でファイルが存在しなかった場合、他のエラーが起こった場合)、\-1 が返され、 \fIerrno\fP が適切に設定される。
.SH エラー
\fBaccess\fP() は以下の場合に失敗する。
.TP