Method: Pathname#sysopen
- Defined in:
- pathname.c
#sysopen([mode, [perm]]) ⇒ Fixnum
See IO.sysopen.
457 458 459 460 461 462 463 464 465 466 |
# File 'pathname.c', line 457
static VALUE
path_sysopen(int argc, VALUE *argv, VALUE self)
{
VALUE args[3];
int n;
args[0] = get_strpath(self);
n = rb_scan_args(argc, argv, "02", &args[1], &args[2]);
return rb_funcallv(rb_cIO, id_sysopen, 1+n, args);
}
|