read

public func read(Int32, Pointer[UInt8], Int64) -> Int64

Reads from a file descriptor. Returns bytes read, 0 on EOF, -1 on error.

Defined in lang/std/io/libc.ks