🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3821

Re: gets() and getchar

#3821
From: Michael Shields
Date: Tue, 22 Aug 1995 23:06
14 lines
1139 bytes
In article <41cj80$7s8@solutions.solon.com>,
Peter Seebach <seebs@solutions.solon.com> wrote:
> In all of which you can tell, by examining the first argument, how many more
> there are.  How do you tell for your proposed gets?  Your solution *must not*
> require special magic sentinel values on the stack, or any other such
> magic; it must be possible with stdargs.  Otherwise we're requiring unfair
> magic, and potentially quite a lot of extra overhead, from the compiler
> vendors.

And making it impossible to implement a version with C89, meaning
that it would be years before you could use the two-argument form in
portable code.
-- 
Shields.
Technical Details
Message-ID: <41dntq$f5j@yage.tembel.org>
Path: arc1-ca.pugleaf.net!news.tembel.org!not-for-mail
References: <Pine.ULT.3.91.950807194041.19202A-100000@mars> <412n2q$ka4@kruuna.helsinki.fi> <41b3ut$s2@caip.rutgers.edu> <41cj80$7s8@solutions.solon.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.tembel.org!not-for-mail
From: shields@tembel.org (Michael Shields)
Newsgroups: comp.std.c
Subject: Re: gets() and getchar
Date: 22 Aug 1995 23:06:34 -0000
Organization: Tembel's Hedonic Commune
Message-ID: <41dntq$f5j@yage.tembel.org>
References: <Pine.ULT.3.91.950807194041.19202A-100000@mars> <412n2q$ka4@kruuna.helsinki.fi> <41b3ut$s2@caip.rutgers.edu> <41cj80$7s8@solutions.solon.com>
NNTP-Posting-Host: yage.tembel.org
NNTP-Posting-User: shields