From bd5bb13000d5823049645699f2c5e193784e0ae2 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 12 Nov 2008 13:50:51 -0500 Subject: [PATCH] pthread_attr_setaffinity_np.3, pthread_setaffinity_np.3: Remove redundant text relating to CPU sets Information about CPU_SETSIZE can be found in CPU_SET.3, so remove discussion of it here. Signed-off-by: Michael Kerrisk --- man3/pthread_attr_setaffinity_np.3 | 6 +----- man3/pthread_setaffinity_np.3 | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/man3/pthread_attr_setaffinity_np.3 b/man3/pthread_attr_setaffinity_np.3 index 3003e0355..933a66351 100644 --- a/man3/pthread_attr_setaffinity_np.3 +++ b/man3/pthread_attr_setaffinity_np.3 @@ -60,12 +60,8 @@ The argument .I cpusetsize is the length (in bytes) of the buffer pointed to by .IR cpuset . -Normally this argument would be specified as +Tpically, this argument would be specified as .IR sizeof(cpu_set_t) . -The constant -.B CPU_SETSIZE -specifies a value one greater than the -maximum CPU number that can be stored in a CPU set. For more details on CPU affinity masks, see .BR sched_setaffinity (2). diff --git a/man3/pthread_setaffinity_np.3 b/man3/pthread_setaffinity_np.3 index 090a8e275..a04b24d96 100644 --- a/man3/pthread_setaffinity_np.3 +++ b/man3/pthread_setaffinity_np.3 @@ -59,12 +59,8 @@ The argument .I cpusetsize is the length (in bytes) of the buffer pointed to by .IR cpuset . -Normally this argument would be specified as +Typically, this argument would be specified as .IR sizeof(cpu_set_t) . -The constant -.B CPU_SETSIZE -specifies a value one greater than the -maximum CPU number that can be stored in a CPU set. For more details on CPU affinity masks, see .BR sched_setaffinity (2).