mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
bee63ab97a
commit
31419f46fc
1 changed files with 14 additions and 0 deletions
|
@ -159,6 +159,20 @@ Init_fcntl(void)
|
||||||
*/
|
*/
|
||||||
rb_define_const(mFcntl, "F_WRLCK", INT2NUM(F_WRLCK));
|
rb_define_const(mFcntl, "F_WRLCK", INT2NUM(F_WRLCK));
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef F_SETPIPE_SZ
|
||||||
|
/* Document-const: F_SETPIPE_SZ
|
||||||
|
*
|
||||||
|
* Change the capacity of the pipe referred to by fd to be at least arg bytes.
|
||||||
|
*/
|
||||||
|
rb_define_const(mFcntl, "F_SETPIPE_SZ", INT2NUM(F_SETPIPE_SZ));
|
||||||
|
#endif
|
||||||
|
#ifdef F_GETPIPE_SZ
|
||||||
|
/* Document-const: F_GETPIPE_SZ
|
||||||
|
*
|
||||||
|
* Return (as the function result) the capacity of the pipe referred to by fd.
|
||||||
|
*/
|
||||||
|
rb_define_const(mFcntl, "F_GETPIPE_SZ", INT2NUM(F_GETPIPE_SZ));
|
||||||
|
#endif
|
||||||
#ifdef O_CREAT
|
#ifdef O_CREAT
|
||||||
/* Document-const: O_CREAT
|
/* Document-const: O_CREAT
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue