aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorheadius <headius@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-19 18:42:36 +0000
committerheadius <headius@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-19 18:42:36 +0000
commitd91667c9f5d5dc238e7d423ae92ae64d008135ce (patch)
treee013a14db356cbe997b7d382607f15dd91760827 /file.c
parent03a2b7460748de2e499cb941925c6b8b38ac11b9 (diff)
downloadruby-d91667c9f5d5dc238e7d423ae92ae64d008135ce.tar.gz
file.c: fix documentation
* file.c: mode is optional, defaults to 0666. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index fbb7917d43..9f430a3382 100644
--- a/file.c
+++ b/file.c
@@ -5489,7 +5489,7 @@ rb_stat_sticky(VALUE obj)
/*
* call-seq:
- * File.mkfifo(file_name, mode) => 0
+ * File.mkfifo(file_name, mode=0666) => 0
*
* Creates a FIFO special file with name _file_name_. _mode_
* specifies the FIFO's permissions. It is modified by the process's