IO::Handle
Native Rust implementation built into the interpreter. Runtime: P5. See original documentation for the full Perl reference.
Functions
autoflush
get/set autoflush.
binmode
set encoding layer.
blocking
stub, always returns 1.
clearerr
always returns 0.
close
close the filehandle.
eof
check end-of-file.
error
always returns 0 (no error tracking).
fdopen
open from file descriptor.
fileno
return file descriptor number.
flush
flush output buffer.
getc
read a single character.
getline
read one line.
getlines
read all remaining lines.
import
noop.
input_line_number
new
returns a new unopened IO SV.
opened
check if handle is open.
write to filehandle.
printf
formatted write.
read
buffered read.
say
print with trailing newline.
seek
seek_cur
seek_end
seek_set
stat
fstat on the file descriptor.
tell
truncate
truncate file.
write
write bytes.