fullnm - expand filename to a fully qualified name with all path prefixes
int fullnm(filename,maxlen)
filename
maximum length
Fullnm is a utility function that filename expands a string. This includes generating the pwd (1) prefix for unqualified names as well as metacharacters a la csh (1). Up to the first 'maxlen' characters of the output will replace the input and a count of any remaining characters will be returned. It also attempts to strip autoumounter paths from the directory name.
csh(1), pwd(1), sh(1), find(1), basename(1)
Fullnm returns the value -1 in case of error.
Only csh metacharacters are recognized.
expand filename
sep