D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Fiddle
/
Filename :
dlopen-c.ri
back
Copy
U:RDoc::AnyMethod[iI"dlopen:ETI"Fiddle::dlopen;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"LCreates a new handler that opens +library+, and returns an instance of ;TI"Fiddle::Handle.;To:RDoc::Markup::BlankLine o; ; [I"QIf +nil+ is given for the +library+, Fiddle::Handle::DEFAULT is used, which ;TI"Ois the equivalent to RTLD_DEFAULT. See <code>man 3 dlopen</code> for more.;T@o:RDoc::Markup::Verbatim; [I"lib = Fiddle.dlopen(nil) ;T:@format0o; ; [I"LThe default is dependent on OS, and provide a handle for all libraries ;TI"Kalready loaded. For example, in most cases you can use this to access ;TI";+libc+ functions, or ruby functions like +rb_str_new+.;T@o; ; [I"%See Fiddle::Handle.new for more.;T: @fileI"ext/fiddle/lib/fiddle.rb;T:0@omit_headings_from_table_of_contents_below0I"'dlopen(library) => Fiddle::Handle ;T0[ I"(library);T@FI"Fiddle;TcRDoc::NormalModule00