From 0b373d6bbb6cc00c41a5e74a809394aeb9d24994 Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 18 May 2014 08:45:07 +0000 Subject: [DOC] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/etc/etc.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ext/etc') diff --git a/ext/etc/etc.c b/ext/etc/etc.c index 64b6fefab7..6e7c278cfa 100644 --- a/ext/etc/etc.c +++ b/ext/etc/etc.c @@ -693,7 +693,7 @@ etc_uname(VALUE obj) /* * Returns system configuration variable using sysconf(). * - * _name_ should be a constant undef Etc which begins with SC_. + * _name_ should be a constant under Etc which begins with SC_. * * The return value is an integer or nil. * nil means indefinite limit. (sysconf() returns -1 but errno is not set.) @@ -730,7 +730,7 @@ etc_sysconf(VALUE obj, VALUE arg) /* * Returns system configuration variable using confstr(). * - * _name_ should be a constant undef Etc which begins with CS_. + * _name_ should be a constant under Etc which begins with CS_. * * The return value is a string or nil. * nil means no configuration-defined value. (confstr() returns 0 but errno is not set.) @@ -777,11 +777,12 @@ etc_confstr(VALUE obj, VALUE arg) /* * Returns pathname configuration variable using fpathconf(). * - * _name_ should be a constant undef Etc which begins with PC_. + * _name_ should be a constant under Etc which begins with PC_. * * The return value is an integer or nil. * nil means indefinite limit. (fpathconf() returns -1 but errno is not set.) * + * require 'etc' * IO.pipe {|r, w| * p w.pathconf(Etc::PC_PIPE_BUF) #=> 4096 * } -- cgit v1.2.3