[comp.lang.c] __LINE__ etc.

henry@utzoo.uucp (Henry Spencer) (05/10/90)

In article <1990May9.003253.3637@mdivax1.uucp> mdivax1!robinson (Jim Robinson) writes:
>>The C standard requires that __LINE__ be supported by every conforming
>>implementation.
>
>Is this the ANSI C Standard?

Yes.

>An admittedly cursory look thru a copy of the
>K&R C manual (first edition) did not produce any mention of __LINE__.

That book, good though it is, is 12 years old.  Since C is only about
18 years old, you should be reading something newer.  The second edition
is a good choice.

>And, is __FILE__ required to be supported?

Yes.
-- 
If OSI is the answer, what is |     Henry Spencer at U of Toronto Zoology
the question?? -Rolf Nordhagen| uunet!attcan!utzoo!henry henry@zoo.toronto.edu