jow- / ucode

JavaScript-like language with optional templating
ISC License
90 stars 30 forks source link

fs: add `isatty()` function #137

Closed ynezz closed 1 year ago

ynezz commented 1 year ago

Expose the isatty(3) libc function in the fs module to allow checking whether a file descriptor refers to a terminal.

Signed-off-by: Petr Štetiar ynezz@true.cz