= private = protected
pipe?()
Returns true if the operating system supports pipes and stat is a pipe; false otherwise.
/* * call-seq: * stat.pipe? => true or false * * Returns <code>true</code> if the operating system supports pipes and * <i>stat</i> is a pipe; <code>false</code> otherwise. */ static VALUE rb_stat_p(obj) VALUE obj; { #ifdef S_IFIFO if (S_ISFIFO(get_stat(obj)->st_mode)) return Qtrue; #endif return Qfalse; }