summaryrefslogtreecommitdiff
path: root/ext/etc
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-15 23:12:21 (GMT)
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-15 23:12:21 (GMT)
commitf65a15b0cf3ac685fa8b94fb72656485dd222974 (patch)
treea81559f791d35de28e1f125f13fb39832a934e2c /ext/etc
parent5c8c88a3e98d796342992d687115f272076a6409 (diff)
update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/etc')
-rw-r--r--ext/etc/etc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/etc/etc.c b/ext/etc/etc.c
index 4a4df36..a37d77c 100644
--- a/ext/etc/etc.c
+++ b/ext/etc/etc.c
@@ -962,9 +962,9 @@ etc_nprocessors_affin(void)
* The result is intended as the number of processes to
* use all available processors.
*
- * This method is implemented as:
- * - sysconf(_SC_NPROCESSORS_ONLN): GNU/Linux, NetBSD, FreeBSD, OpenBSD, DragonFly BSD, OpenIndiana, Mac OS X, AIX
+ * This method is implemented using:
* - sched_getaffinity(): Linux
+ * - sysconf(_SC_NPROCESSORS_ONLN): GNU/Linux, NetBSD, FreeBSD, OpenBSD, DragonFly BSD, OpenIndiana, Mac OS X, AIX
*
* Example:
*
@@ -977,7 +977,7 @@ etc_nprocessors_affin(void)
*
* Example: (Linux)
*
- * $ taskset 0x3 ./ruby -retc -e "p Etc.nprocessors" #=> 2
+ * linux$ taskset 0x3 ./ruby -retc -e "p Etc.nprocessors" #=> 2
*
*/
static VALUE