afc_dirmaster_get_parent

Name

afc_dirmaster_get_parent  -- Returns the parent of current dir

Synopsis

int afc_dirmaster_get_parent ( DirMaster * dm, char * dest );

Description

This function returns the parent of the current directory. If current dir is not set, returns "/".

Inputs

dm

Pointer to a valid DirMaster instance

dest

The destination string where to write the parent path. Must be an AFC string.

Result

Note

See Also