diff options
author | Kim Alvefur <zash@zash.se> | 2021-07-04 15:11:07 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-07-04 15:11:07 +0200 |
commit | b93398ce799df5c165163c96e91d6a8205f0a83c (patch) | |
tree | dddb5a0bd6c133f2b81c9c6210e50bad10c39e31 /teal-src | |
parent | 6f60a98b166796f0be7515ec8636027972e34f92 (diff) | |
download | prosody-b93398ce799df5c165163c96e91d6a8205f0a83c.tar.gz prosody-b93398ce799df5c165163c96e91d6a8205f0a83c.zip |
util.pposix: Bind isatty(3)
Useful for disabling certain behavior, ANSI colors etc when not
connected to a terminal.
Diffstat (limited to 'teal-src')
-rw-r--r-- | teal-src/util/pposix.d.tl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/teal-src/util/pposix.d.tl b/teal-src/util/pposix.d.tl index 7e5ce60e..68f49730 100644 --- a/teal-src/util/pposix.d.tl +++ b/teal-src/util/pposix.d.tl @@ -98,6 +98,8 @@ local record pposix atomic_append : function (f : FILE, s : string) : boolean, string, integer + isatty : function(FILE) : boolean + ENOENT : integer _NAME : string _VESRION : string |