Not a typewriter

Mikel Manitius mikel at codas.ATT.UUCP
Thu Jun 12 03:09:57 AEST 1986


> What does the sys_errlist message 'Not a typewriter' *really* mean??

Errno 25 is usually generated when a program tries to execute an
ioctl command that expects the file descriptor to be a terminal.
(ie: you can't set the baud rate on a file).

However I have also noticed that some aplications aren't very
carefull when they use errno. For example, Informix may give
you this message if it cannot open a database file because it
does not exist!

I think there may be one or two system calls that will alter
errno to be 25, without returning a non-zero value, when in
fact there was no error.
-- 
			Mikel Manitius @ AT&T-IS Altamonte Springs, FL
			...{seismo!akgua|ihnp4|cbosgd}!codas!mikel.ATT.UUCP



More information about the Comp.unix mailing list