]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/terminal-util.c
terminal-util: introduce isatty_safe that rejects EBADF
authorMike Yuan <me@yhndnzj.com>
Fri, 22 Dec 2023 09:59:39 +0000 (17:59 +0800)
committerMike Yuan <me@yhndnzj.com>
Fri, 22 Dec 2023 15:06:48 +0000 (23:06 +0800)
commit76270f5c090ef103e2f75a73fa9fba8b213828ea
tree5b0f18cf891c7a82ab32977e6fa0f5756c6d159d
parentd3f818fea6f6732dc619f7baf89b211fc6ea5e7c
terminal-util: introduce isatty_safe that rejects EBADF
src/basic/terminal-util.c
src/basic/terminal-util.h