🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #25598

Re: LightSpeed C 2.15 putchar???

#25598
From: dorner
Date: Tue, 23 Feb 1988 17:00
20 lines
1067 bytes
>Maybe because putchar () takes an int as a passed parameter, instead of a char?
>

>This is the sort of thing that function prototypes (turn that option
>on in your Lightspeed system) are for.

I beg to differ.  Kernighan and Ritchie (p. 42) guarantees that character
arguments are widened to ints.

To quote a wise man:

>The manual, or especially reading Kernighan and Ritchie, the C white
>book, will help.

>Clive Steward
----
Steve Dorner, U of Illinois Computing Services Office
Internet: dorner@uxc.cso.uiuc.edu  UUCP: ihnp4!uiucuxc!dorner
IfUMust:  (217) 333-3339
Technical Details
Message-ID: <174400100@uxc.cso.uiuc.edu>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!hao!gatech!purdue!i.cc.purdue.edu!j.cc.purdue.edu!pur-ee!uiucdcs!uxc.cso.uiuc.edu!dorner
References: <5267@well.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!hao!gatech!purdue!i.cc.purdue.edu!j.cc.purdue.edu!pur-ee!uiucdcs!uxc.cso.uiuc.edu!dorner
From: dorner@uxc.cso.uiuc.edu
Newsgroups: comp.sys.mac
Subject: Re: LightSpeed C 2.15 putchar???
Message-ID: <174400100@uxc.cso.uiuc.edu>
Date: 23 Feb 88 17:00:00 GMT
References: <5267@well.UUCP>
Lines: 18
Nf-ID: #R:well.UUCP:5267:uxc.cso.uiuc.edu:174400100:000:572
Nf-From: uxc.cso.uiuc.edu!dorner    Feb 23 11:00:00 1988