NAME

fullnm - expand filename to a fully qualified name with all path prefixes


SYNOPSIS

int fullnm(filename,maxlen)


INPUT PARAMETERS

filename - char*
      filename
maxlen - int
      maximum length


DESCRIPTION

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.


SEE ALSO

csh(1), pwd(1), sh(1), find(1), basename(1)


DIAGNOSTICS

Fullnm returns the value -1 in case of error.


BUGS

Only csh metacharacters are recognized.


KEYWORDS

expand filename


LIBRARY

sep