path_file
ds2.10/lib/doc/sefun/path_file · 750 B
From the archive ds2.10.zip
Download the archive « Back to the archive contents
PATH_FILE(1) PATH_FILE(1)
NAME
path_file() - returns an array of files associated with an
array of files
SYNOPSIS
mixed *path_file(string|string * full_path)
DESCRIPTION
Given a path or an array of paths, this function separates
the file name from its path and returns an array with them
separated, or an array of such arrays in the event the
argument passed is an array.
EXAMPLES
o path_file("/secure/cfg/write.cfg") returns ({
"/secure/cfg", "write.cfg" })
LOCATION
/secure/sefun/path_file.c
SEE ALSO
absolute_path()
Author
Descartes of Borg
1