liveBook · Manning

__FILE__

As explained in Modern C

__FILE__ is a predefined C macro that expands to a string literal containing the name of the current source file.

__FILE__ is a predefined C macro that expands to a string literal containing the name of the current source file. It is a compile-time language facility, distinct from the FILE type used by C stream interfaces. section 8.3.1

How Modern C covers it

What it assumes
Assumes familiarity with C source files and introduces the macro’s expansion directly.
How it connects
Distinguishes C preprocessor macros from the opaque FILE stream type.

Also explained in

Compare how 2 books explain __FILE__ →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Modern C. The section links point to the parts of the book it draws on.