openSync

external fun openSync(path: PathLike, flags: OpenMode, mode: Mode? = definedExternally): Double(source)

Returns an integer representing the file descriptor.

For detailed information, see the documentation of the asynchronous version of this API: {@link open}.

Since

v0.1.21

Parameters

mode=0o666