Path: utzoo!utgpu!water!watmath!jagardner From: jagardner@watmath.waterloo.edu (Jim Gardner) Newsgroups: comp.std.c Subject: Re: char *strcat(), *strcpy(), *fgets(); Message-ID: <19644@watmath.waterloo.edu> Date: 28 Jun 88 22:28:14 GMT References: <1309@ark.cs.vu.nl> <11580010@hpisod2.HP.COM> <4773@haddock.ISC.COM> Reply-To: jagardner@watmath.waterloo.edu (Jim Gardner) Organization: U. of Waterloo, Ontario Lines: 12 In article <4773@haddock.ISC.COM> karl@haddock.ima.isc.com (Karl Heuer) writes: >In article <11580010@hpisod2.HP.COM> decot@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 toas 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).