Article View: comp.std.c
Article #3818Re: gets() and getchar
From: Peter Seebach
Date: Tue, 22 Aug 1995 12:40
Date: Tue, 22 Aug 1995 12:40
16 lines
1246 bytes
1246 bytes
In article <41b3ut$s2@caip.rutgers.edu>, <caip.rutgers.edu!halasz> wrote: >There alreddie are special functions with optional arguments .... 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. -s -- Peter Seebach - seebs@solon.com || seebs@intran.xerox.com --- C/Unix proto-wizard -- C/Unix questions? Send mail for help. No, really! Copyright 1995 Peter Seebach. Not for distribution through Microsoft Network. The *other* C FAQ - ftp taniemarie.solon.com /pub/c/afq
Technical Details
Message-ID:
<41cj80$7s8@solutions.solon.com>Path:
arc1-ca.pugleaf.net!solon.com!not-for-mailReferences:
<Pine.ULT.3.91.950807194041.19202A-100000@mars> <412n2q$ka4@kruuna.helsinki.fi> <41b3ut$s2@caip.rutgers.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail From: seebs@solutions.solon.com (Peter Seebach) Newsgroups: comp.std.c Subject: Re: gets() and getchar Date: 22 Aug 1995 07:40:32 -0500 Organization: Usenet Fact Police (Undercover) Message-ID: <41cj80$7s8@solutions.solon.com> References: <Pine.ULT.3.91.950807194041.19202A-100000@mars> <412n2q$ka4@kruuna.helsinki.fi> <41b3ut$s2@caip.rutgers.edu> NNTP-Posting-Host: solutions.solon.com