⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
ri
/
3.0.0
/
system
/
File
/
View File Name :
truncate-c.ri
U:RDoc::AnyMethod[iI" truncate:ETI"File::truncate;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"FTruncates the file
file_name
to be at most
integer
;TI"0bytes long. Not available on all platforms.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"f = File.new("out", "w") ;TI"&f.write("1234567890") #=> 10 ;TI"'f.close #=> nil ;TI"%File.truncate("out", 5) #=> 0 ;TI"$File.size("out") #=> 5;T:@format0: @fileI"file.c;T:0@omit_headings_from_table_of_contents_below0I"-File.truncate(file_name, integer) -> 0 ;T0[ I" (p1, p2);T@FI" File;TcRDoc::NormalClass00