mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-20 00:12:20 +00:00
Docs: Add note about EINVAL to isatty(3)
This commit is contained in:
parent
1bb296ea70
commit
70e220a81f
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue