OSDN Git Service

(split) LDP: Update drafts based on LDP 3.52 release
[linuxjm/LDP_man-pages.git] / draft / man2 / sched_setaffinity.2
index c73c3a0..b248442 100644 (file)
@@ -117,11 +117,13 @@ API を使用している場合、 \fBsched_setaffinity\fP()  の代わりに \f
 \fBfork\fP(2)  経由で生成された子プロセスは親プロセスの CPU affinity マスクを継承する。 affinity マスクは
 \fBexecve\fP(2)  の前後で保存される。
 
-このマニュアルページでは CPU affinity コールの glibc インタフェースを
-説明している。実際のシステムコール・インタフェースは少し違っており、 実際の実装では CPU 集合は簡単なビットマスクであるという実状を反映し、
-\fImask\fP の型が \fIunsigned long *\fP となっている。 成功時には、生の \fBsched_getaffinity\fP()
-システムコール自身は \fIcpumask_t\fP データ型の (バイト単位の) 大きさを返す。 \fIcpumask_t\fP はカーネル内部で CPU
-集合のビットマスクを表現するのに 使われているデータ型である。
+This manual page describes the glibc interface for the CPU affinity calls.
+The actual system call interface is slightly different, with the \fImask\fP
+being typed as \fIunsigned long\ *\fP, reflecting the fact that the underlying
+implementation of CPU sets is a simple bit mask.  On success, the raw
+\fBsched_getaffinity\fP()  system call returns the size (in bytes) of the
+\fIcpumask_t\fP data type that is used internally by the kernel to represent
+the CPU set bit mask.
 .SH 関連項目
 .ad l
 .nh
@@ -131,6 +133,6 @@ API を使用している場合、 \fBsched_setaffinity\fP()  の代わりに \f
 \fBCPU_SET\fP(3), \fBpthread_setaffinity_np\fP(3), \fBsched_getcpu\fP(3),
 \fBcapabilities\fP(7), \fBcpuset\fP(7)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.51 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。