next up previous contents index
Next: current_line_to_top Up: Buffers and files Previous: redisplay

filename

   char * filename()

Returns a new allocated string containing the absolute filename corresponding to the current buffer, or 0 when the buffer is untitled.

Attention Be careful, the string is allocated each time the function is called, use free() to release it.



Lionel Fournigault
Fri Nov 6 17:00:30 MET 1998