.\"
.\" Created Wed Aug 9 1995 Thomas K. Dyas <tdyas@eden.rutgers.edu>
.\"
-.\" Japanese Version Copyright (c) 1997 HANATAKA Shinya
-.\" all rights reserved.
-.\" Translated Tue Mar 4 00:03:08 JST 1997
-.\" by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
-.\" Updated & Modified Sat Jun 2 20:46:34 JST 2001
-.\" by Yuichi SATO <ysato@h4.dion.ne.jp>
+.\"*******************************************************************
.\"
-.\"WORD: file system ファイル・システム
-.\"WORD: kernel カーネル
-.\"WORD: identifier string 識別文字列
-.\"WORD: type index 型インデックス
+.\" This file was generated with po4a. Translate the source file.
.\"
-.TH SYSFS 2 2010-06-27 "Linux" "Linux Programmer's Manual"
-.\"O .SH NAME
+.\"*******************************************************************
+.TH SYSFS 2 2010\-06\-27 Linux "Linux Programmer's Manual"
.SH 名前
-.\"O sysfs \- get file system type information
-sysfs \- ファイル・システム (file system) の情報を取得する
-.\"O .SH SYNOPSIS
+sysfs \- ファイルシステム (file system) の情報を取得する
.SH 書式
-.BI "int sysfs(int " option ", const char *" fsname );
+\fBint sysfs(int \fP\fIoption\fP\fB, const char *\fP\fIfsname\fP\fB);\fP
-.BI "int sysfs(int " option ", unsigned int " fs_index ", char *" buf );
+\fBint sysfs(int \fP\fIoption\fP\fB, unsigned int \fP\fIfs_index\fP\fB, char
+*\fP\fIbuf\fP\fB);\fP
-.BI "int sysfs(int " option );
-.\"O .SH DESCRIPTION
+\fBint sysfs(int \fP\fIoption\fP\fB);\fP
.SH 説明
-.\"O .BR sysfs ()
-.\"O returns information about the file system types currently present in
-.\"O the kernel.
-.\"O The specific form of the
-.\"O .BR sysfs ()
-.\"O call and the information returned depends on the
-.\"O .I option
-.\"O in effect:
-.BR sysfs ()
-は現在カーネル (kernel) に存在しているファイル・システムの型 (type) 情報を返す。
-それぞれの
-.BR sysfs ()
-コールの形式と返される情報は
-.I option
-に依存しており、それは:
-.TP 3
-.B 1
-.\"O Translate the file-system identifier string
-.\"O .I fsname
-.\"O into a file-system type index.
-ファイル・システム識別文字列 (identifier string)
-.I fsname
-をファイル・システムの型インデックス (type index) に翻訳する。
-.TP
-.B 2
-.\"O Translate the file-system type index
-.\"O .I fs_index
-.\"O into a null-terminated file-system identifier string.
-.\"O This string will
-.\"O be written to the buffer pointed to by
-.\"O .IR buf .
-.\"O Make sure that
-.\"O .I buf
-.\"O has enough space to accept the string.
-ファイル・システムの型インデックス
-.I fs_index
-を NULL 終端されたファイル・システム識別文字列に翻訳する。
-この文字列は
-.I buf
-で指定されたバッファーへ書き込まれる。
-.I buf
-に文字列を入れるだけの十分な容量があることを確かめること。
-.TP
-.B 3
-.\"O Return the total number of file system types currently present in the
-.\"O kernel.
-現在カーネルに存在するファイル・システム型の数の合計を返す。
+\fBsysfs\fP() は現在カーネル (kernel) に存在しているファイルシステムの型 (type) 情報を返す。 それぞれの
+\fBsysfs\fP() コールの形式と返される情報は \fIoption\fP に依存しており、それは:
+.TP 3
+\fB1\fP
+ファイルシステム識別文字列 (identifier string) \fIfsname\fP をファイルシステムの型インデックス (type index)
+に翻訳する。
+.TP
+\fB2\fP
+ファイルシステムの型インデックス \fIfs_index\fP を NULL 終端されたファイルシステム識別文字列に翻訳する。 この文字列は \fIbuf\fP
+で指定されたバッファーへ書き込まれる。 \fIbuf\fP に文字列を入れるだけの十分な容量があることを確かめること。
+.TP
+\fB3\fP
+現在カーネルに存在するファイルシステム型の数の合計を返す。
.PP
-.\"O The numbering of the file-system type indexes begins with zero.
-ファイル・システムの型インデックスの数はゼロから始まる。
-.\"O .SH "RETURN VALUE"
+ファイルシステムの型インデックスの数はゼロから始まる。
.SH 返り値
-.\"O On success,
-.\"O .BR sysfs ()
-.\"O returns the file-system index for option
-.\"O .BR 1 ,
-.\"O zero for option
-.\"O .BR 2 ,
-.\"O and the number of currently configured file systems for option
-.\"O .BR 3 .
-成功した場合
-.BR sysfs ()
-は、
-オプション
-.B 1
-では
-ファイル・システムのインデックスを返す。
-オプション
-.B 2
-ではゼロを返す。
-オプション
-.B 3
-は現在設定されているファイル・システムの数を返す。
-.\"O On error, \-1 is returned, and
-.\"O .I errno
-.\"O is set appropriately.
-エラーの場合は、\-1 が返され、
-.I errno
-が適切に設定される。
-.\"O .SH ERRORS
+成功した場合 \fBsysfs\fP() は、 オプション \fB1\fP では ファイルシステムのインデックスを返す。 オプション \fB2\fP ではゼロを返す。
+オプション \fB3\fP は現在設定されているファイルシステムの数を返す。 エラーの場合は、\-1 が返され、 \fIerrno\fP が適切に設定される。
.SH エラー
-.TP
-.B EFAULT
-.\"O .RI "Either " fsname " or " buf
-.\"O is outside your accessible address space.
-.RI fsname " と " buf
-のどちらかがアクセス可能なアドレス空間の外にある。
-.TP
-.B EINVAL
-.\"O .I fsname
-.\"O is not a valid file-system type identifier;
-.\"O .I fs_index
-.\"O is out-of-bounds;
-.\"O .I option
-.\"O is invalid.
-.I fsname
-が正しいファイル・システムの型識別子ではない;
-.I fs_index
-が範囲の外にある;
-.I option
-が正しくない。
-.\"O .SH "CONFORMING TO"
+.TP
+\fBEFAULT\fP
+fsname\fI と \fPbuf のどちらかがアクセス可能なアドレス空間の外にある。
+.TP
+\fBEINVAL\fP
+\fIfsname\fP が正しいファイルシステムの型識別子ではない; \fIfs_index\fP が範囲の外にある; \fIoption\fP が正しくない。
.SH 準拠
SVr4.
-.\"O .SH NOTES
.SH 注意
-.\"O This System-V derived system call is obsolete; don't use it.
-.\"O On systems with
-.\"O .IR /proc ,
-.\"O the same information can be obtained via
-.\"O .IR /proc/filesystems ;
-.\"O use that interface instead.
-この System-V 由来のシステムコールは廃止予定 (obsolete) であり、
-使用しないこと。
-.I /proc
-が利用できるシステムでは、同じ情報が
-.I /proc/filesystems
-経由で取得でき、このインタフェースを使用すること。
-.\"O .SH BUGS
+この System\-V 由来のシステムコールは廃止予定 (obsolete) であり、 使用しないこと。 \fI/proc\fP
+が利用できるシステムでは、同じ情報が \fI/proc/filesystems\fP 経由で取得でき、このインタフェースを使用すること。
.SH バグ
-.\"O There is no libc or glibc support.
-.\"O There is no way to guess how large \fIbuf\fP should be.
-libc または glibc のサポートは存在しない。
-\fIbuf\fP の大きさがどれだけ必要かを推測する方法がない。
+libc または glibc のサポートは存在しない。 \fIbuf\fP の大きさがどれだけ必要かを推測する方法がない。