D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
IO
/
Filename :
sysopen-c.ri
back
Copy
U:RDoc::AnyMethod[iI"sysopen:ETI"IO::sysopen;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"KOpens the file at the given path with the given mode and permissions; ;TI")returns the integer file descriptor.;To:RDoc::Markup::BlankLine o; ; [I"3If the file is to be readable, it must exist; ;TI"7if the file is to be writable and does not exist, ;TI".it is created with the given permissions:;T@o:RDoc::Markup::Verbatim; [I"%File.write('t.tmp', '') # => 0 ;TI"%IO.sysopen('t.tmp') # => 8 ;TI"$IO.sysopen('t.tmp', 'w') # => 9;T:@format0: @fileI" io.c;T:0@omit_headings_from_table_of_contents_below0I":IO.sysopen(path, mode = 'r', perm = 0666) -> integer ;T0[ I"(p1, p2 = v2, p3 = v3);T@FI"IO;TcRDoc::NormalClass00