How ANSI is Apollo's cc 6.7 (SR 10.2)

Nick Crossley ndjc at hobbit.UUCP
Wed Sep 12 03:19:04 AEST 1990


In article <13798 at smoke.BRL.MIL> gwyn at smoke.BRL.MIL (Doug Gwyn) writes:
>>(from string.h - this is wrapped inside of an '#ifdef __STDC__')
>>extern char *strcpyn(...);
>
>Actually, this should be EXCLUDED when __STDC__ is in effect, since
>the C standard prohibits inclusion of arbitrary junk in standard
>headers for a conforming (__STDC__) implementation.

I thought all external names starting str[a-z]... were reserved to the
implementation for future ANSI C string functions, so is strcpyn()
really illegal?
-- 

<<< standard disclaimers >>>
Nick Crossley, ICL NA, 9801 Muirlands, Irvine, CA 92718-2521, USA 714-458-7282
uunet!ccicpg!ndjc  /  ndjc at ccicpg.UUCP



More information about the Comp.std.c mailing list