...ed. On error, -1 is returned, and errno is set to indicate the error. SEE ALSO ioctl (2), ldattach (8), ioctl_console (2), termios (3), pty (7)