.\"
.TH SCHED_GETCPU 3 2010-10-31 "Linux" "Linux Programmer's Manual"
.\"O .SH NAME
-.SH ̾Á°
+.SH 名前
.\"O sched_getcpu \- determine CPU on which the calling thread is running
-sched_getcpu \- ¸Æ¤Ó½Ð¤·¤¿¥¹¥ì¥Ã¥É¤¬¼Â¹Ô¤µ¤ì¤Æ¤¤¤ë CPU ¤òÃΤë
+sched_getcpu \- 呼び出したスレッドが実行されている CPU を知る
.\"O .SH SYNOPSIS
-.SH ½ñ¼°
+.SH 書式
.nf
.\"O .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
-.BR "#define _GNU_SOURCE" " /* feature_test_macros(7) »²¾È */"
+.BR "#define _GNU_SOURCE" " /* feature_test_macros(7) 参照 */"
.\" Really:_BSD_SOURCE || _SVID_SOURCE
.B #include <sched.h>
.B int sched_getcpu(void);
.fi
.\"O .SH DESCRIPTION
-.SH ÀâÌÀ
+.SH 説明
.\"O .BR sched_getcpu ()
.\"O returns the number of the CPU on which the calling thread is currently executing.
.BR sched_getcpu ()
-¤Ï¡¢¸Æ¤Ó½Ð¤·¤¿¥¹¥ì¥Ã¥É¤¬¸½ºß¼Â¹Ô¤µ¤ì¤Æ¤¤¤ë CPU ¤ÎÈÖ¹æ¤òÊÖ¤¹¡£
+は、呼び出したスレッドが現在実行されている CPU の番号を返す。
.\"O .SH RETURN VALUE
-.SH ÊÖ¤êÃÍ
+.SH 返り値
.\"O On success,
.\"O .BR sched_getcpu ()
.\"O returns a nonnegative CPU number.
.\"O On error, \-1 is returned and
.\"O .I errno
.\"O is set to indicate the error.
-À®¸ù¤¹¤ë¤È¡¢
+成功すると、
.BR sched_getcpu ()
-¤ÏÈóÉé¤Î CPU ÈÖ¹æ¤òÊÖ¤¹¡£
-¥¨¥é¡¼¤Î¾ì¹ç¡¢\-1 ¤òÊÖ¤·¡¢
+は非負の CPU 番号を返す。
+エラーの場合、\-1 を返し、
.I errno
-¤Ë¥¨¥é¡¼¤ò¼¨¤¹ÃͤòÀßÄꤹ¤ë¡£
+にエラーを示す値を設定する。
.\"O .SH ERRORS
-.SH ¥¨¥é¡¼
+.SH ã\82¨ã\83©ã\83¼
.TP
.B ENOSYS
.\"O This kernel does not implement
.\"O .BR getcpu (2).
-¤³¤Î¥«¡¼¥Í¥ë¤Ç¤Ï
+このカーネルでは
.BR getcpu (2)
-¤¬¼ÂÁõ¤µ¤ì¤Æ¤¤¤Ê¤¤¡£
+が実装されていない。
.\"O .SH VERSIONS
-.SH ¥Ð¡¼¥¸¥ç¥ó
+.SH バージョン
.\"O This function is available since glibc 2.6.
-¤³¤Î´Ø¿ô¤Ï glibc 2.6 °Ê¹ß¤ÇÍøÍѲÄǽ¤Ç¤¢¤ë¡£
+この関数は glibc 2.6 以降で利用可能である。
.\"O .SH CONFORMING TO
-.SH ½àµò
+.SH 準拠
.\"O .BR sched_getcpu ()
.\"O is glibc specific.
.BR sched_getcpu ()
-¤Ï glibc ¸ÇͤǤ¢¤ë¡£
+は glibc 固有である。
.\"O .SH NOTES
-.SH Ãí°Õ
+.SH 注意
.\"O The call
.in +4n
.nf
.\"O is equivalent to the following
.\"O .BR getcpu (2)
.\"O call:
-¤Ï¡¢°Ê²¼¤Î
+は、以下の
.BR getcpu (2)
-¤Î¸Æ¤Ó½Ð¤·¤ÈÅù²Á¤Ç¤¢¤ë¡£
+の呼び出しと等価である。
.in +4n
.nf
.fi
.in
.\"O .SH SEE ALSO
-.SH ´ØÏ¢¹àÌÜ
+.SH 関連項目
.BR getcpu (2)