Docs: Add note about EINVAL to isatty(3)

This commit is contained in:
Andreas Kling 2019-11-17 20:09:12 +01:00
parent 1bb296ea70
commit 70e220a81f

View file

@ -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.