1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

file.c: [DOC] File.mkfifo

* file.c (rb_file_s_mkfifo): enclose rdoc by ifdef so it will be
  generated properly.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2017-07-29 12:11:51 +00:00
parent c1d5d16c38
commit 4905a62f5b

2
file.c
View file

@ -5551,6 +5551,7 @@ rb_stat_sticky(VALUE obj)
#define HAVE_MKFIFO #define HAVE_MKFIFO
#endif #endif
#ifdef HAVE_MKFIFO
/* /*
* call-seq: * call-seq:
* File.mkfifo(file_name, mode=0666) => 0 * File.mkfifo(file_name, mode=0666) => 0
@ -5561,7 +5562,6 @@ rb_stat_sticky(VALUE obj)
* (mode & ~umask). * (mode & ~umask).
*/ */
#ifdef HAVE_MKFIFO
static VALUE static VALUE
rb_file_s_mkfifo(int argc, VALUE *argv) rb_file_s_mkfifo(int argc, VALUE *argv)
{ {