OSDN Git Service

(split) LDP: Addresses fuzzy strings in 3.53
[linuxjm/LDP_man-pages.git] / draft / man2 / _syscall.2
index 5432323..abda21a 100644 (file)
@@ -1,7 +1,7 @@
-.\"
 .\" Copyright (c) 1993 Michael Haardt (michael@moria.de),
 .\"   Fri Apr  2 11:32:09 MET DST 1993
 .\"
+.\" %%%LICENSE_START(GPLv2+_DOC_FULL)
 .\" This is free documentation; you can redistribute it and/or
 .\" modify it under the terms of the GNU General Public License as
 .\" published by the Free Software Foundation; either version 2 of
@@ -18,9 +18,9 @@
 .\" GNU General Public License for more details.
 .\"
 .\" You should have received a copy of the GNU General Public
-.\" License along with this manual; if not, write to the Free
-.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
-.\" USA.
+.\" License along with this manual; if not, see
+.\" <http://www.gnu.org/licenses/>.
+.\" %%%LICENSE_END
 .\"
 .\" Tue Jul  6 12:42:46 MDT 1993 <dminer@nyx.cs.du.edu>
 .\" Added "Calling Directly" and supporting paragraphs
@@ -85,14 +85,14 @@ _syscall() マクロはプロトタイプを「生成しない」。 ユーザ
 
 システムコールは、正のエラーコードのみ、または負のエラーコードのみを返すように
 定められている訳ではない。そのシステムコールがどのようなエラーコードを返すかを
-確認するには、そのソースコードを読む必要がある。たいていの場合は、標準のエラー コードを負にしたものである (例えば \-\fBEPERM\fP)。
+確認するには、そのソースコードを読む必要がある。たいていの場合は、標準のエラー コードを負にしたものである (例えば \-\fIEPERM\fP)。
 _syscall() マクロは、そのシステムコールの返り値 \fIr\fP が負でない場合、その値 をそのまま返す。一方、\fIr\fP が負の場合には、変数
 \fIerrno\fP に \-\fIr\fP を設定し、\-1 を返す。 エラーコードについては \fBerrno\fP(3)  を参照。
 
 .\" The preferred way to invoke system calls that glibc does not know
 .\" about yet is via
 .\" .BR syscall (2).
-.\" However, this mechanism can only be used if using a libc
+.\" However, this mechanism can be used only if using a libc
 .\" (such as glibc) that supports
 .\" .BR syscall (2),
 .\" and if the
@@ -136,7 +136,7 @@ main(void)
     exit(EXIT_SUCCESS);
 }
 .fi
-.SS "Sample Output"
+.SS 出力例
 .nf
 code error = 0
 uptime = 502034s
@@ -149,6 +149,6 @@ Number of processes = 40
 .SH 関連項目
 \fBintro\fP(2), \fBsyscall\fP(2), \fBerrno\fP(3)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.41 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.53 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。