🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix
Article #550

difference between putc and fputc

#550
From: XMRN10000[saf]-a.dhingra
Date: Mon, 20 Mar 1989 22:26
9 lines
819 bytes
What is the difference between putc and fputc ?
One is a macro and the other is a function.
One runs faster than the other and the other one occupies lesser
space each invocation.  How does this happen ?

Please e-mail.  I'll definitely post the answer.

amarjit
..ihnp4!mtgzz!ad0
Technical Details
Message-ID: <4215@mtgzz.att.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!amdahl!pyramid!prls!mips!zorba!stl!stc!ukc!mcvax!uunet!husc6!bloom-beacon!mit-eddie!rutgers!mtunx!whuts!homxb!mtuxo!mtgzz!ad0

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!amdahl!pyramid!prls!mips!zorba!stl!stc!ukc!mcvax!uunet!husc6!bloom-beacon!mit-eddie!rutgers!mtunx!whuts!homxb!mtuxo!mtgzz!ad0
From: ad0@mtgzz.att.com (XMRN10000[saf]-a.dhingra)
Newsgroups: comp.unix
Subject: difference between putc and fputc
Keywords: putc,fputc,question,interesting,curious
Message-ID: <4215@mtgzz.att.com>
Date: 20 Mar 89 22:26:32 GMT
Sender: dtynan@zorba.Tynan.COM
Organization: AT&T, Middletown NJ
Lines: 9
Approved: dtynan@zorba.Tynan.COM