.TH "__FILE__" "" "" "Manifest Constant"
.PC "Source file name"
.PP
.II "source file name"
.B "__FILE__"
is a preprocessor constant
that is defined by the C preprocessor.
It represents, as a string constant,
the name of the current source file being translated.
.PP
.B "__FILE__"
may not be the subject of a
.B #define
or
.B #undef
preprocessing directive, but it may be altered with the
.B #line
preprocessing directive.
.SH Example
For an example of how to use
.B "__FILE__"
in a program, see
.BR "__DATE__" .
.SH "See Also"
.Xr "__DATE__," _5F5Fdate
.Xr "__LINE__," _5F5Fline
.Xr "__STDC__," _5F5Fstdc
.Xr "__TIME__," _5F5Ftime
.Xr "manifest constant" manifestc
.br
\*(AS, \(sc6.8.8
