🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3714

Re: gets() and getchar

#3714
From: Bob Nelson
Date: Sun, 13 Aug 1995 10:37
18 lines
1430 bytes
On 11 Aug 1995 16:46:45 +0300, Lars Wirzenius wrote:

>> One thing I would like to see (if we're going to have a new standard
>> anyway, that is) is something that does what strncpy should have done.
>> I call mine strmaxcpy.
[...]
>> memoverlap is a function that tests whether two memory areas overlap.

Please don't hesitate to correct me if I am failing to properly interpret
the Standard -- but don't your function names conflict with ISO 7.13.8?
The Rationale, FWIW, at 4.11 adds that "The Standard reserves function
names beginning with str or mem for possible future use."

-- 
=============================================================================
          Bob Nelson: Dallas, Texas, U.S.A.  -  bnelson@netcom.com
      Linux for fun, M$ for $$$...and the NFL for what really counts!
=============================================================================
Technical Details
Message-ID: <bnelsonDD8w5s.2HH@netcom.com>
Path: arc1-ca.pugleaf.net!netcom.com!bnelson
References: <Pine.ULT.3.91.950807194041.19202A-100000@mars> <KANZE.95Aug9103309@slsvhdt.lts.sel.alcatel.de> <40bqih$bft@caip.rutgers.edu> <1995Aug11.002333.20047@dcs.warwick.ac.uk> <40fn05$686@kruuna.helsinki.fi>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c
Path: arc1-ca.pugleaf.net!netcom.com!bnelson
From: bnelson@netcom.com (Bob Nelson)
Subject: Re: gets() and getchar
Message-ID: <bnelsonDD8w5s.2HH@netcom.com>
Organization: a computer running Linux
X-Newsreader: TIN [version 1.2 PL2]
References: <Pine.ULT.3.91.950807194041.19202A-100000@mars> <KANZE.95Aug9103309@slsvhdt.lts.sel.alcatel.de> <40bqih$bft@caip.rutgers.edu> <1995Aug11.002333.20047@dcs.warwick.ac.uk> <40fn05$686@kruuna.helsinki.fi>
Date: Sun, 13 Aug 1995 10:37:04 GMT
Sender: bnelson@netcom10.netcom.com