open function
open(2): opens path as flags say, a new file of mode; a descriptor,
or -1. A leaf call, like read.
Implementation
@Native<Int Function(Pointer<Char>, Int, VarArgs<(Int,)>)>(isLeaf: true)
external int open(Pointer<Char> path, int flags, int mode);