OSDN Git Service

(split) LDP: draft snapshot generated from latest ja.po files.
[linuxjm/LDP_man-pages.git] / draft / man3 / statvfs.3
index f7d76ab..6f6a29d 100644 (file)
 .\"
 .\" Modified 2004-06-23 by Michael Kerrisk <mtk.manpages@gmail.com>
 .\"
-.\" Japanese Version Copyright (c) 2004-2005 Yuichi SATO
-.\"         all rights reserved.
-.\" Translated Tue Jun 29 23:36:41 JST 2004
-.\"         by Yuichi SATO <ysato444@yahoo.co.jp>
-.\" Updated & Modified Sun Jan  9 22:50:29 JST 2005 by Yuichi SATO
+.\"*******************************************************************
 .\"
-.TH STATVFS 3 2003-08-22 "Linux" "Linux Programmer's Manual"
-.\"O .SH NAME
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH STATVFS 3 2003\-08\-22 Linux "Linux Programmer's Manual"
 .SH 名前
-.\"O statvfs, fstatvfs \- get file system statistics
 statvfs, fstatvfs \- ファイルシステムの統計を取得する
-.\"O .SH SYNOPSIS
 .SH 書式
-.B #include <sys/statvfs.h>
+\fB#include <sys/statvfs.h>\fP
 .sp
-.BI "int statvfs(const char *" path ", struct statvfs *" buf );
+\fBint statvfs(const char *\fP\fIpath\fP\fB, struct statvfs *\fP\fIbuf\fP\fB);\fP
 .br
-.BI "int fstatvfs(int " fd ", struct statvfs *" buf );
-.\"O .SH DESCRIPTION
+\fBint fstatvfs(int \fP\fIfd\fP\fB, struct statvfs *\fP\fIbuf\fP\fB);\fP
 .SH 説明
-.\"O The function
-.\"O .BR statvfs ()
-.\"O returns information about a mounted file system.
-関数
-.BR statvfs ()
-はマウントされたファイルシステムについての情報を返す。
-.\"O .I path
-.\"O is the pathname of any file within the mounted file system.
-.I path
-はマウントされたファイルシステム中の任意のファイルのパス名である。
-.\"O .I buf
-.\"O is a pointer to a
-.\"O .I statvfs
-.\"O structure defined approximately as follows:
-.I buf
-は、だいたい以下のように定義されている
-.I statvfs
+関数 \fBstatvfs\fP()  はマウントされたファイルシステムについての情報を返す。 \fIpath\fP
+はマウントされたファイルシステム中の任意のファイルのパス名である。 \fIbuf\fP は、だいたい以下のように定義されている \fIstatvfs\fP
 構造体へのポインタである:
 
 .in +4n
 .nf
 struct statvfs {
-.\"O     unsigned long  f_bsize;    /* file system block size */
-.\"O     unsigned long  f_frsize;   /* fragment size */
-.\"O     fsblkcnt_t     f_blocks;   /* size of fs in f_frsize units */
-.\"O     fsblkcnt_t     f_bfree;    /* # free blocks */
-.\"O     fsblkcnt_t     f_bavail;   /* # free blocks for unprivileged users */
-.\"O     fsfilcnt_t     f_files;    /* # inodes */
-.\"O     fsfilcnt_t     f_ffree;    /* # free inodes */
-.\"O     fsfilcnt_t     f_favail;   /* # free inodes for unprivileged users */
-.\"O     unsigned long  f_fsid;     /* file system ID */
-.\"O     unsigned long  f_flag;     /* mount flags */
-.\"O     unsigned long  f_namemax;  /* maximum filename length */
     unsigned long  f_bsize;    /* ファイルシステムのブロックサイズ */
     unsigned long  f_frsize;   /* フラグメントサイズ */
     fsblkcnt_t     f_blocks;   /* ファイルシステムのサイズ (f_frsize 単位) */
@@ -93,178 +62,66 @@ struct statvfs {
 .fi
 .in
 
-.\"O Here the types
-.\"O .I fsblkcnt_t
-.\"O and
-.\"O .I fsfilcnt_t
-.\"O are defined in
-.\"O .IR <sys/types.h> .
-ここで、型
-.I fsblkcnt_t
-と
-.I fsfilcnt_t
-は
-.I <sys/types.h>
-で定義されている。
-.\"O Both used to be
-.\"O .IR "unsigned long" .
-かつて、これらは共に
-.I "unsigned long"
-であった。
+ここで、型 \fIfsblkcnt_t\fP と \fIfsfilcnt_t\fP は \fI<sys/types.h>\fP で定義されている。
+かつて、これらは共に \fIunsigned long\fP であった。
 
-.\"O The field
-.\"O .I f_flag
-.\"O is a bit mask (of mount flags, see
-.\"O .BR mount (8)).
-フィールド
-.I f_flag
-は (マウントフラグの) ビットマスクである
-(マウントフラグについては、
-.BR mount (8)
-を参照すること)。
-.\"O Bits defined by POSIX are
+フィールド \fIf_flag\fP は (マウントフラグの) ビットマスクである (マウントフラグについては、 \fBmount\fP(8)  を参照すること)。
 POSIX で定義されているビットは以下の通り:
-.TP
-.B ST_RDONLY
-.\"O Read-only file system.
+.TP 
+\fBST_RDONLY\fP
 読み込み専用のファイルシステム。
-.TP
-.B ST_NOSUID
-.\"O Set-user-id/set-group-ID bits are ignored by
-.\"O .BR exec (3).
-.BR exec (3)
-に無視される set-user-id/set-group-ID ビット。
+.TP 
+\fBST_NOSUID\fP
+\fBexec\fP(3)  に無視される set\-user\-id/set\-group\-ID ビット。
 .LP
-.\"O It is unspecified whether all members of the returned struct
-.\"O have meaningful values on all file systems.
-返された構造体の全てのメンバが全てのファイルシステムで
-意味のある値であるか否かは、指定されていない。
+返された構造体の全てのメンバが全てのファイルシステムで 意味のある値であるか否かは、指定されていない。
 
-.\"O .BR fstatvfs ()
-.\"O returns the same information about an open file referenced by descriptor
-.\"O .IR fd .
-.BR fstatvfs ()
-は、ディスクリプタ
-.I fd
-で参照されるオープンされたファイルについて、同じ情報を返す。
-.\"O .SH "RETURN VALUE"
+\fBfstatvfs\fP()  は、ディスクリプタ \fIfd\fP で参照されるオープンされたファイルについて、同じ情報を返す。
 .SH 返り値
-.\"O On success, zero is returned.
-.\"O On error, \-1 is returned, and
-.\"O .I errno
-.\"O is set appropriately.
-成功した場合、0 が返される。
-エラーの場合、\-1 が返されて、
-.I errno
-が適切に設定される。
-.\"O .SH ERRORS
+成功した場合、0 が返される。 失敗した場合、 \-1 が返され、 \fIerrno\fP に適切な値がセットされる。
 .SH エラー
-.TP
-.B EACCES
-.\"O .RB ( statvfs ())
-.\"O Search permission is denied for a component of the path prefix of
-.\"O .IR path .
-.\"O (See also
-.\"O .BR path_resolution (7).)
-.RB ( statvfs ()
-の場合)
-.I path
-のディレクトリ部分に検索許可が与えられていない
-.RB ( path_resolution (7)
+.TP 
+\fBEACCES\fP
+(\fBstatvfs\fP()  の場合)  \fIpath\fP のディレクトリ部分に検索許可が与えられていない (\fBpath_resolution\fP(7)
 も参照すること)。
-.TP
-.B EBADF
-.\"O .RB ( fstatvfs ())
-.\"O .I fd
-.\"O is not a valid open file descriptor.
-.RB ( fstatvfs ()
-の場合)
-.I fd
-が有効なオープンファイルディスクリプタではない。
-.TP
-.B EFAULT
-.\"O .I Buf
-.\"O or
-.\"O .I path
-.\"O points to an invalid address.
-.I buf
-または
-.I path
-が無効なアドレスを指している。
-.TP
-.B EINTR
-.\"O This call was interrupted by a signal.
-この呼び出しがシグナルによって中断された。
-.TP
-.B EIO
-.\"O An I/O error occurred while reading from the file system.
-ファイルシステムから読み出している間に I/O エラーが発生した。
-.TP
-.B ELOOP
-.\"O .RB ( statvfs ())
-.\"O Too many symbolic links were encountered in translating
-.\"O .IR path .
-.RB ( statvfs ()
-の場合)
-.I path
-にシンボリックリンクが多すぎる。
-.TP
-.B ENAMETOOLONG
-.\"O .RB ( statvfs ())
-.\"O .I path
-.\"O is too long.
-.RB ( statvfs ()
-の場合)
-.I path
-が長すぎる。
-.TP
-.B ENOENT
-.\"O .RB ( statvfs ())
-.\"O The file referred to by
-.\"O .I path
-.\"O does not exist.
-.RB ( statvfs ()
-の場合)
-.I path
-で参照されるファイルが存在しない。
-.TP
-.B ENOMEM
-.\"O Insufficient kernel memory was available.
-十分なカーネルメモリが使用できない。
-.TP
-.B ENOSYS
-.\"O The file system does not support this call.
+.TP 
+\fBEBADF\fP
+(\fBfstatvfs\fP()  の場合)  \fIfd\fP が有効なオープンファイルディスクリプタではない。
+.TP 
+\fBEFAULT\fP
+\fIbuf\fP または \fIpath\fP が無効なアドレスを指している。
+.TP 
+\fBEINTR\fP
+この呼び出しがシグナルで中断された。
+.TP 
+\fBEIO\fP
+ファイルシステムからの読み込みの間に I/O エラーが発生した。
+.TP 
+\fBELOOP\fP
+(\fBstatvfs\fP()  の場合)  \fIpath\fP にシンボリックリンクが多すぎる。
+.TP 
+\fBENAMETOOLONG\fP
+(\fBstatvfs\fP()  の場合)  \fIpath\fP が長すぎる。
+.TP 
+\fBENOENT\fP
+(\fBstatvfs\fP()  の場合)  \fIpath\fP で参照されるファイルが存在しない。
+.TP 
+\fBENOMEM\fP
+十分なカーネルメモリがない。
+.TP 
+\fBENOSYS\fP
 ファイルシステムがこの呼び出しをサポートしていない。
-.TP
-.B ENOTDIR
-.\"O .RB ( statvfs ())
-.\"O A component of the path prefix of
-.\"O .I path
-.\"O is not a directory.
-.RB ( statvfs ()
-の場合)
-.I path
-のディレクトリ部分がディレクトリでない。
-.TP
-.B EOVERFLOW
-.\"O Some values were too large to be represented in the returned struct.
-いくつかの値は、返される構造体で表現するには大きすぎる。
-.\"O .SH "CONFORMING TO"
+.TP 
+\fBENOTDIR\fP
+(\fBstatvfs\fP()  の場合)  \fIpath\fP のディレクトリ部分がディレクトリでない。
+.TP 
+\fBEOVERFLOW\fP
+いくつかの値が大き過ぎて、返り値の構造体で表現できない。
 .SH 準拠
-POSIX.1-2001.
-.\"O .SH NOTES
+POSIX.1\-2001.
 .SH 注意
-.\"O The Linux kernel has system calls
-.\"O .BR statfs (2)
-.\"O and
-.\"O .BR fstatfs (2)
-.\"O to support this library call.
-Linux カーネルには、このライブラリコールをサポートするために、
-.BR statfs (2),
-.BR fstatfs (2)
-システムコールがある。
+Linux カーネルには、このライブラリコールをサポートするために、 \fBstatfs\fP(2), \fBfstatfs\fP(2)  システムコールがある。
 
-.\"O The current glibc implementations of
 現在の glibc の実装において、
 .sp
 .nf
@@ -273,20 +130,7 @@ Linux カーネルには、このライブラリコールをサポートする
    pathconf(path, _PC_REC_MIN_XFER_SIZE);
 .fi
 .sp
-.\"O respectively use the
-.\"O .IR f_frsize ,
-.\"O .IR f_frsize ,
-.\"O and
-.\"O .I f_bsize
-.\"O fields of the return value of
-.\"O .IR "statvfs(path,buf)" .
-は、それぞれ
-.I "statvfs(path,buf)"
-の返り値の
-.IR f_frsize ,
-.IR f_frsize ,
-.I f_bsize
+は、それぞれ \fIstatvfs(path,buf)\fP の返り値の \fIf_frsize\fP, \fIf_frsize\fP, \fIf_bsize\fP
 フィールドを使う。
-.\"O .SH "SEE ALSO"
 .SH 関連項目
-.BR statfs (2)
+\fBstatfs\fP(2)