mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:07:34 +00:00
Docs: Add note about EINVAL to isatty(3)
This commit is contained in:
parent
1bb296ea70
commit
70e220a81f
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue