diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-18 08:45:07 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-18 08:45:07 +0000 |
commit | 0b373d6bbb6cc00c41a5e74a809394aeb9d24994 (patch) | |
tree | e9e8bfceaa92b887b529f2366e850cbbede7fb8b /ext/etc | |
parent | 741b7c46b8e635f1faf373e0ac78b2f7eb8b7f9f (diff) | |
download | ruby-0b373d6bbb6cc00c41a5e74a809394aeb9d24994.tar.gz |
[DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/etc')
-rw-r--r-- | ext/etc/etc.c | 7 |
1 files changed, 4 insertions, 3 deletions
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 <code>Etc</code> which begins with <code>SC_</code>. + * _name_ should be a constant under <code>Etc</code> which begins with <code>SC_</code>. * * 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 <code>Etc</code> which begins with <code>CS_</code>. + * _name_ should be a constant under <code>Etc</code> which begins with <code>CS_</code>. * * 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 <code>Etc</code> which begins with <code>PC_</code>. + * _name_ should be a constant under <code>Etc</code> which begins with <code>PC_</code>. * * 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 * } |