And you seem to suggest that your opinion is something important,
what should not taken as given.
I don't see that opinion comes into it (mine or RH's - not sure whom
you were targeting). I was asking for information and challenging a
viewpoint. This is permitted on Usenet, you know.
I'll set out what I understand so far to allow it to be pilloried and
otherwise corrected. Asbestos clothes on....
1) The header for a given function /can/ be provided by a compiler
package as a separate header file rather than being included inside
one of the "standard" header files.
2) Even with a separate header file it is still possible to both
compile and link (presumably bringing in the relevant object code at a
certain point).
3) C compilers can be ansi-compatible - "conforming" (term?) - or not
(non-conforming).
4) lcc includes the header of a non-ansi-standard function (ggets in
this case) in stdio.h to make things "easier for everyone."
/If/ the above is right (a big 'if' I know) I don't really see how
adding the header for ggets() to stdio.h makes things easier except
that is saves the user typing
#include <ggets.h>
at the top of a piece of code. Offset against this extra typing is
that the extra include makes it more transparent where the ggets()
header is defined. This seems to me (yes, my opinion if you like) on
its own to directly outweigh the 'disadvantage' of the extra typing.
However, that's a side point. The main query is whether a community-
provided function can be distributed such that the above #include
would be valid whether telling the compiler to use ansi compatibility
or not.