\fBfork\fP(2) 経由で生成された子プロセスは親プロセスの CPU affinity マスクを継承する。 affinity マスクは
\fBexecve\fP(2) の前後で保存される。
-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.
+このマニュアルページでは CPU affinity コールの glibc インタフェースを
+説明している。実際のシステムコール・インタフェースは少し違っており、 実際の実装では CPU 集合は簡単なビットマスクであるという実状を反映し、
+\fImask\fP の型が \fIunsigned long\ *\fP となっている。 成功時には、生の \fBsched_getaffinity\fP()
+システムコール自身は \fIcpumask_t\fP データ型の (バイト単位の) 大きさを返す。 \fIcpumask_t\fP はカーネル内部で CPU
+集合のビットマスクを表現するのに 使われているデータ型である。
.SH 関連項目
.ad l
.nh