mud/lib/doc/sefun/path_file
2020-09-06 05:43:07 -07:00

32 lines
750 B
Plaintext

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