Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!rutgers!sri-unix!hplabs!pesnta!peora!ucf-cs!novavax!hcx1!daver
From: daver@hcx1.UUCP
Newsgroups: comp.lang.misc
Subject: Re: REXX ? As in Tyrannosuarus REXX
Message-ID: <44600001@hcx1>
Date: Mon, 15-Dec-86 07:07:00 EST
Article-I.D.: hcx1.44600001
Posted: Mon Dec 15 07:07:00 1986
Date-Received: Wed, 17-Dec-86 19:22:13 EST
References: <973@cuuxb.UUCP>
Lines: 15
Nf-ID: #R:cuuxb.UUCP:-97300:hcx1:44600001:000:581
Nf-From: hcx1.UUCP!daver    Dec 15 07:07:00 1986



>  ...  I have never seen a standard C library routine that 
> did not perform as documented.

I don't know if "putw" is considered standard, but it does not behave
as documented (at least on our bsd4.2-vintage C "system").  The man
page states that it returns the word written or EOF.  In fact, a successful
call returns  0  , not the word written.

I posted this to net.lang.c a while back and was told that the problem
was due to putw's returning an int and not being able to distinguish an
EOF from a valid integer.

Dave Ray         uucp:  {codas,allegra}!novavax!hcx1!daver