D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
File
/
Filename :
link-c.ri
back
Copy
U:RDoc::AnyMethod[iI" link:ETI"File::link;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"ICreates a new name for an existing file using a hard link. Will not ;TI"Hoverwrite <i>new_name</i> if it already exists (raising a subclass ;TI"9of SystemCallError). Not available on all platforms.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"0File.link("testfile", ".testfile") #=> 0 ;TI"BIO.readlines(".testfile")[0] #=> "This is line one\n";T:@format0: @fileI"file.c;T:0@omit_headings_from_table_of_contents_below0I"+File.link(old_name, new_name) -> 0 ;T0[ I" (p1, p2);T@FI" File;TcRDoc::NormalClass00