ioctl_console
On success, 0 is returned. On failure, -1 is returned, and errno is set to indicate the error.