OSDN Git Service

(split) LDP: draft snapshot generated from latest ja.po files.
[linuxjm/LDP_man-pages.git] / draft / man2 / ustat.2
index 37b3620..535449a 100644 (file)
 .\" Modified 2001-03-22 by aeb
 .\" Modified 2003-08-04 by aeb
 .\"
-.\" Japanese Version Copyright (c) 1996 HANATAKA Shinya
-.\"         all rights reserved.
-.\" Translated Wed Dec  4 23:12:06 JST 1996
-.\"         by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
-.\" Updated & Modified Sat May 22 19:00:40 JST 2004
-.\"         by Yuichi SATO <ysato444@yahoo.co.jp>
+.\"*******************************************************************
 .\"
-.\"WORD:       file system             ファイル・システム
-.\"WORD:       mount                   マウント
-.\"WORD:       device                  デバイス
-.\"WORD:       member                  メンバー
-.\"WORD:       NUL character           ヌル文字
-.\"WORD:       implement               実装
-.\"WORD:       pointer                 ポインター
+.\" This file was generated with po4a. Translate the source file.
 .\"
-.TH USTAT 2 2003-08-04 "Linux" "Linux Programmer's Manual"
-.\"O .SH NAME
+.\"*******************************************************************
+.TH USTAT 2 2003\-08\-04 Linux "Linux Programmer's Manual"
 .SH 名前
-.\"O ustat \- get file system statistics
-ustat \- ファイル・システム (file system) の統計を得る
-.\"O .SH SYNOPSIS
+ustat \- ファイルシステム (file system) の統計を得る
 .SH 書式
 .nf
-.B #include <sys/types.h>
+\fB#include <sys/types.h>\fP
 .br
-.BR "#include <unistd.h>" "    /* libc[45] */"
+\fB#include <unistd.h>\fP    /* libc[45] */
 .br
-.BR "#include <ustat.h>" "     /* glibc2 */"
+\fB#include <ustat.h>\fP     /* glibc2 */
 .sp
-.BI "int ustat(dev_t " dev ", struct ustat *" ubuf );
+\fBint ustat(dev_t \fP\fIdev\fP\fB, struct ustat *\fP\fIubuf\fP\fB);\fP
 .fi
-.\"O .SH DESCRIPTION
 .SH 説明
-.\"O .BR ustat ()
-.\"O returns information about a mounted file system.
-.\"O .I dev
-.\"O is a device number identifying a device containing
-.\"O a mounted file system.
-.BR ustat ()
-はマウント (mount) されたファイル・システムの情報を返す。
-.I dev
-は調べるファイル・システムを含んでいるデバイス (device) の
-デバイス番号。
-.\"O .I ubuf
-.\"O is a pointer to a \fIustat\fP structure that contains the following
-.\"O members:
-.I ubuf
-は以下のメンバーを含む ustat 構造体へのポインター:
+\fBustat\fP()  はマウント (mount) されたファイルシステムの情報を返す。 \fIdev\fP は調べるファイルシステムを含んでいるデバイス
+(device) の デバイス番号。 \fIubuf\fP は以下のメンバーを含む ustat 構造体へのポインター:
 .in +4n
 .nf
 
@@ -83,107 +56,35 @@ char    f_fpack[6];   /* Filsys pack name */
 .fi
 .in
 .PP
-.\"O The last two fields,
-.\"O .I f_fname
-.\"O and
-.\"O .IR f_fpack ,
-.\"O are not implemented and will
-.\"O always be filled with null bytes (\(aq\\0\(aq).
-後の二つのフィールド
-.I f_fname
-と
-.I f_fpack
-は実装されておらず、常に NULL バイト (\(aq\\0\(aq) で埋められる。
-.\"O .SH "RETURN VALUE"
+後の二つのフィールド \fIf_fname\fP と \fIf_fpack\fP は実装されておらず、常に NULL バイト (\(aq\e0\(aq)
+で埋められる。
 .SH 返り値
-.\"O On success, zero is returned and the
-.\"O .I ustat
-.\"O structure pointed to by
-.\"O .I ubuf
-.\"O will be filled in.
-.\"O On error, \-1 is returned, and
-.\"O .I errno
-.\"O is set appropriately.
-成功した場合にはゼロが返され、
-.I ubuf
-が指す
-.I ustat
-構造体が埋められる。
-エラーの場合は \-1 が返され、
-.I errno
+成功した場合にはゼロが返され、 \fIubuf\fP が指す \fIustat\fP 構造体が埋められる。 エラーの場合は \-1 が返され、 \fIerrno\fP
 が適切に設定される。
-.\"O .SH ERRORS
 .SH エラー
-.TP
-.B EFAULT
-.\"O .I ubuf
-.\"O points outside of your accessible address space.
-.I ubuf
-がアクセス可能な空間の外側を指している。
-.TP
-.B EINVAL
-.\"O .I dev
-.\"O does not refer to a device containing a mounted file system.
-.I dev
-がマウントされたファイル・システムを含むデバイスを参照していない。
-.TP
-.B ENOSYS
-.\"O The mounted file system referenced by
-.\"O .I dev
-.\"O does not support this operation, or any version of Linux before
-.\"O 1.3.16.
-.I dev
-で参照されるマウントされたファイル・システムがこの操作 (operation) を
-サポートしていないか、Linux のバージョンが 1.3.16 以前である。
-.\"O .SH "CONFORMING TO"
+.TP 
+\fBEFAULT\fP
+\fIubuf\fP がアクセス可能な空間の外側を指している。
+.TP 
+\fBEINVAL\fP
+\fIdev\fP がマウントされたファイルシステムを含むデバイスを参照していない。
+.TP 
+\fBENOSYS\fP
+\fIdev\fP で参照されるマウントされたファイルシステムがこの操作 (operation) を サポートしていないか、Linux のバージョンが
+1.3.16 以前である。
 .SH 準拠
+.\" SVr4 documents additional error conditions ENOLINK, ECOMM, and EINTR
+.\" but has no ENOSYS condition.
 SVr4.
-.\"O .\" SVr4 documents additional error conditions ENOLINK, ECOMM, and EINTR
-.\"O .\" but has no ENOSYS condition.
-.\" SVr4 には他に ENOLINK, ECOMM, EINTR についての記述があるが、
-.\" ENOSYS エラーについての記述はない。
-.\"O .SH NOTES
 .SH 注意
-.\"O .BR ustat ()
-.\"O is deprecated and has only been provided for compatibility.
-.BR ustat ()
-は推奨されず、互換性のためだけに提供される。
-.\"O All new programs should use
-.\"O .BR statfs (2)
-.\"O instead.
-新しいプログラムは全てこれの代りに
-.BR statfs (2)
+\fBustat\fP()  は推奨されず、互換性のためだけに提供される。 新しいプログラムは全てこれの代りに \fBstatfs\fP(2)
 を使用するべきである。
-.\"O .SS "HP-UX Notes"
-.SS "HP-UX における注意"
-.\"O The HP-UX version of the
-.\"O .I ustat
-.\"O structure has an additional field,
-.\"O .I f_blksize
-.\"O that is unknown elsewhere.
-.\"O HP-UX warns:
-.\"O For some file systems, the number of free inodes does not change.
-.\"O Such file systems will return \-1 in the field
-.\"O .IR f_tinode .
-HP-UX 版の構造体
-.I ustat
-には、その他にフィールド
-.I f_blksize
-が存在するが、他では見かけない。
-HP-UX は次のように警告している:
-ファイルシステムの中には、解放されている inode の数を変更しないものもある。
-このようなファイルシステムは、フィールド
-.I f_tinode
-に \-1 を返す。
-.\"O .\" Some software tries to use this in order to test whether the
-.\"O .\" underlying file system is NFS.
-.\" ファイルシステムが NFS であるか否かをテストするために
-.\" これを使用するソフトウェアもある。
-.\"O For some file systems, inodes are dynamically allocated.
-.\"O Such file systems will return the current number of free inodes.
-ファイルシステムの中には、inode を動的に確保するものもある。
+.SS "HP\-UX における注意"
+.\" Some software tries to use this in order to test whether the
+.\" underlying file system is NFS.
+HP\-UX 版の構造体 \fIustat\fP には、その他にフィールド \fIf_blksize\fP が存在するが、他では見かけない。 HP\-UX
+は次のように警告している: ファイルシステムの中には、解放されている inode の数を変更しないものもある。 このようなファイルシステムは、フィールド
+\fIf_tinode\fP に \-1 を返す。 ファイルシステムの中には、inode を動的に確保するものもある。
 このようなファイルシステムは、現在解放されている inode の数を返す。
-.\"O .SH "SEE ALSO"
 .SH 関連項目
-.BR stat (2),
-.BR statfs (2)
+\fBstat\fP(2), \fBstatfs\fP(2)