Technical data

SunOS 5.5 Devices wscons(7D)
ESC[s Reset terminal emulator (SUNRESET)
Takes no parameters. Resets all modes to default, restores current font from
PROM. Screen and cursor position are
RETURN VALUES When there are no errors, the redirection ioctls have return values as described above.
Otherwise, they return 1 and set errno to indicate the error.
If the target stream is in an error state, errno is set accordingly.
ERRORS EBADF target does not denote an open file.
ENOSTR target does not denote aSTREAMS device.
EINVAL (x86 only) fd does not denote /dev/console.
x86 FILES /dev/systty (x86 only)
/dev/syscon (x86 only)
/dev/console (x86 only) the device that must be opened for the SRIOCSREDIR and
SRIOCISREDIR ioctls
/dev/wscons the workstation console, accessed by way of the redirection facility
SEE ALSO console(7D)
WARNINGS The redirection ioctls block while there is I/O outstanding on the device instance being
redirected. Thus, attempting to redirect the workstation console while there is a read
outstanding on it will hang until the read completes.
modified 11 Nov 1993 7D-405