Io module

c_open

procedureforeignextensionexperimentalmacOS, Linux onlySource

open and fcntl are variadic in C, which matters on Apple arm64 (variadic arguments go on the stack).

c_open :: (path: *u8, flags: s32, args: ..Any) -> s32 #foreign

Parameters

path: *u8
flags: s32
args: ..Any

Returns

s32

See also