Check for get_current_dir_name. There is a replacement function in
[tinc] / doc / es / tinc-es.html
2000-09-17 Ivo TimmermansAdded Spanish translation of the docs by Matias Carrasco