From 70e220a81f5205e89859093771616ff5cdb87d81 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 17 Nov 2019 20:09:12 +0100 Subject: [PATCH] Docs: Add note about EINVAL to isatty(3) --- Base/usr/share/man/man3/isatty.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Base/usr/share/man/man3/isatty.md b/Base/usr/share/man/man3/isatty.md index 366607dcf1..f615d721b9 100644 --- a/Base/usr/share/man/man3/isatty.md +++ b/Base/usr/share/man/man3/isatty.md @@ -22,3 +22,4 @@ If `fd` refers to a TTY device, returns 1. Otherwise, returns 0 and `errno` is s * `EBADF`: `fd` is not an open file descriptor. * `ENOTTY`: `fd` refers to something that's not a TTY device. +* `EINVAL`: `fd` refers to something that supports `ioctl()`, but is still not a TTY device.