From f65a15b0cf3ac685fa8b94fb72656485dd222974 Mon Sep 17 00:00:00 2001 From: akr Date: Wed, 15 Oct 2014 23:12:21 +0000 Subject: update doc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/etc/etc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext') diff --git a/ext/etc/etc.c b/ext/etc/etc.c index 4a4df3654a..a37d77cef6 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 -- cgit v1.2.3