The man page for the function get_current_dir_name() gives the function prototype as: char *get_current_working_dir_name(void); This is incorrect. It should be: char *get_current_dir_name(void); Thanks!
fixed in the current man-pages release in rawhide.