Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site codas.ATT.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!hjuxa!petsd!peora!codas!mikel From: mikel@codas.ATT.UUCP (Mikel Manitius) Newsgroups: net.unix,net.unix-wizards Subject: Re: Not a typewriter Message-ID: <542@codas.ATT.UUCP> Date: Wed, 11-Jun-86 13:09:57 EDT Article-I.D.: codas.542 Posted: Wed Jun 11 13:09:57 1986 Date-Received: Sun, 15-Jun-86 01:47:55 EDT References: <1683@homxb.UUCP> Organization: AT&T Information Systems, Altamonte Springs, FL Lines: 17 Xref: watmath net.unix:8119 net.unix-wizards:18363 > 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