afc_fstree_internal_split_name

Name

afc_fstree_internal_split_name  -- Splits a name in dir and name parts

Synopsis

int afc_fstree_internal_split_name ( FSTree * fst, char * dest_dir, char * dest_name, char * name );

Description

This function simply split a complete file name (dir + name) into directory and filename. It needs two destination strings (already alloc'd) *dest_dir* and *dest_name* where dir and name part will go respectively.

Inputs

fst

Pointer to a valid FSTree instance.

dest_dir

Destination string to hold directory name

dest_name

Destination string to hold file name

name

Full file name to split up.

Result

See Also