cs.org/os/mktime">Community Examples</a></div><hr><div class="binding"><span id="os/open" class="binding-sym">os/open</span> <span class="binding-type">cfunction</span> <span class="binding-type"><a href="https://github.com/janet-lang/janet/blob/0d9e999/src/core/os.c#L2500">source</a></span> <pre class="binding-text">(os/open path &amp;opt flags mode)

Create a stream from a file, like the POSIX open system call. Returns a new stream. `mode` should be a file mode as passed to `os/chmod`, but only if the cre