Definition:
void ap_chdir_file(const char *file);
Usage example:
ap_chdir_file(r->filename);
Does a chdir to the directory containing file. The function finds the last slash in the path file and changes to that directory.
Does nothing if there are no slashes in file. Does not check that chdir succeeds.
Previous: ap_cfg_getline
Next: ap_checkmask
Table of Contents
(Routines,
Structures,
Data Cells,
Constants)