Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!lsuc!ncrcan!brian From: brian@ncrcan.UUCP (Brian Onn) Newsgroups: comp.lang.c Subject: Re: Perror complication Message-ID: <301@ncrcan.UUCP> Date: Mon, 24-Aug-87 12:12:41 EDT Article-I.D.: ncrcan.301 Posted: Mon Aug 24 12:12:41 1987 Date-Received: Tue, 25-Aug-87 07:15:22 EDT References: <8913@brl-adm.ARPA> <8048@mimsy.UUCP> <18005@amdcad.AMD.COM> Reply-To: brian@ncrcan.UUCP () Organization: NCR Canada Ltd., Mississauga, Ontario Lines: 8 In article <18005@amdcad.AMD.COM> rpw3@amdcad.UUCP (Rob Warnock) writes: >This bypasses problems with syscalls that can return "-1" as a valid successful >result, such as "nice()", and also avoids the "Not a typewriter" syndrome. Sorry if this has been hashed here before. but what is this syndrome? I remember working with a guy who was writing some code, and he kept complaining that after his system calls, errno was being set to 25 (ENOTTY). I beleive this is what you are talking about, but what causes it?