char *strcat(), *strcpy(), *fgets();
Jim Gardner
jagardner at watmath.waterloo.edu
Wed Jun 29 08:28:14 AEST 1988
In article <4773 at haddock.ISC.COM> karl at haddock.ima.isc.com (Karl Heuer) writes:
>In article <11580010 at hpisod2.HP.COM> decot at hpisod2.HP.COM (Dave Decot) writes:
>
>As Doug has noted, "str*" is reserved to the implementation. Thus, the vendor
>is free to add any of these to <string.h> as an extension (and would still
>have a conforming implementation). I suppose many implementations will put
>strdup() there.
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 (can't use _filbuf 'cause that's a valid user auto name).
More information about the Comp.std.c
mailing list