diff options
author | Petr Štetiar <ynezz@true.cz> | 2023-01-09 14:53:16 +0100 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2023-01-09 15:13:32 +0100 |
commit | be30472bfdbbb410e8934b48a56d26c5c630d0f1 (patch) | |
tree | 0f4a75a4f1e9587f4d55640b2b58d2f0ca15c6e1 /tests | |
parent | 1e4d20932646f90523d21ea358c72901e3ee689e (diff) |
fs: add `isatty()` function
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>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/custom/03_stdlib/40_proto | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/custom/03_stdlib/40_proto b/tests/custom/03_stdlib/40_proto index d7d0c2c..2a12966 100644 --- a/tests/custom/03_stdlib/40_proto +++ b/tests/custom/03_stdlib/40_proto @@ -38,6 +38,7 @@ When invoked with two arguments, returns the given value. Hello, World! [ { + "isatty": "function isatty(...) { [native code] }", "error": "function error(...) { [native code] }", "fileno": "function fileno(...) { [native code] }", "flush": "function flush(...) { [native code] }", |