open

public func open(Pointer[UInt8], Int32, Int32) -> Fd

Opens a file. Returns file descriptor or -1 on error.

Defined in lang/std/io/libc.ks