Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

read

🌌fuzion.std.fileio.read

§  read(fd i64, file_array Any, file_array_length i32)
 => 
i64
:
Any 

intrinsic that fills an array u8 with the file bytes that is represented by the file descriptor
returns i8 0 in case of success and the error number/ -1 for the interpreter in case of failure