summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-18 02:06:15 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-18 02:06:15 +0000
commit4f3432f9cbd2a89ecd2efdbeb0bbb02a86c24ad8 (patch)
tree5a4fb02603e6b9f29594b6685887748c30a1e228 /ext
parentea1a4f2929ab0cdb85b04c268e5d128f2c0a42c6 (diff)
[DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/etc/etc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/etc/etc.c b/ext/etc/etc.c
index 577ac9223c4..64b6fefab7f 100644
--- a/ext/etc/etc.c
+++ b/ext/etc/etc.c
@@ -782,7 +782,9 @@ etc_confstr(VALUE obj, VALUE arg)
* The return value is an integer or nil.
* nil means indefinite limit. (fpathconf() returns -1 but errno is not set.)
*
- * open("/") {|f| p f.pathconf(Etc::PC_NAME_MAX) } #=> 255
+ * IO.pipe {|r, w|
+ * p w.pathconf(Etc::PC_PIPE_BUF) #=> 4096
+ * }
*
*/
static VALUE