D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Dir
/
Filename :
fileno-i.ri
back
Copy
U:RDoc::AnyMethod[iI"fileno:ETI"Dir#fileno;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"6Returns the file descriptor used in <em>dir</em>.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"d = Dir.new('..') ;TI"d.fileno # => 8 ;T:@format0o; ; [ I"This method uses the ;TI"G{dirfd()}[https://www.man7.org/linux/man-pages/man3/dirfd.3.html] ;TI"%function defined by POSIX 2008; ;TI"Wthe method is not implemented on non-POSIX platforms (raises NotImplementedError).;T: @fileI" dir.c;T:0@omit_headings_from_table_of_contents_below0I"fileno -> integer ;T0[ I"();T@FI"Dir;TcRDoc::NormalClass00