🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #5143

Re: char *strcat(), *strcpy(), *fgets();

#5143
From: Karl Heuer
Date: Fri, 01 Jul 1988 12:54
16 lines
1389 bytes
In article <19644@watmath.waterloo.edu> jagardner@watmath.waterloo.edu (Jim Gardner) writes:
>Section 4.1.2 "Each header declares and defines only those identifiers listed
>in its associated section". Sounds like you can't put prototypes for any
>new str* in string.h. It also sounds like I can't put a prototype for
>__filbuf in stdio.h

It also sounds like I can't define the symbol _H_STDIO to lock out multiple
includes, since that would be defining an undocumented identifier.  Clearly
this isn't what the Committee meant.

It appears that 4.1.2 should be slightly rephrased.  Something on the order of
"Each header declares and defines no identifiers except those listed in its
associated section or the corresponding subsection of Future Library
Directions, or the globally reserved identifiers."

Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint
Technical Details
Message-ID: <4883@haddock.ISC.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!ima!haddock!karl
References: <1309@ark.cs.vu.nl> <11580010@hpisod2.HP.COM> <4773@haddock.ISC.COM> <19644@watmath.waterloo.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!ima!haddock!karl
From: karl@haddock.ISC.COM (Karl Heuer)
Newsgroups: comp.std.c
Subject: Re: char *strcat(), *strcpy(), *fgets();
Summary: Editorial change required?
Message-ID: <4883@haddock.ISC.COM>
Date: 1 Jul 88 12:54:20 GMT
References: <1309@ark.cs.vu.nl> <11580010@hpisod2.HP.COM> <4773@haddock.ISC.COM> <19644@watmath.waterloo.edu>
Reply-To: karl@haddock.ima.isc.com (Karl Heuer)
Organization: Interactive Systems, Boston
Lines: 16