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.