![]() |
![]()
| ![]() |
![]()
NAME
SYNOPSIS
int
DESCRIPTIONThe
This process is necessarily unreliable for several reasons: intermediate entries in the path may not be found in the cache; files may have more than one name (hard links), not all file systems use the name cache (specifically, most synthetic file systems do not); a single name may be used for more than one file (in the context of file systems covering other file systems); a file may have no name (if deleted but still open or referenced). However, the resulting string may still be more useable to a user than a vnode pointer value, or a device number and inode number. Code consuming the results of this function should anticipate (and properly handle) failure. Its arguments are:
Typical consumers will declare two character
pointers: fullpath and freepath;
they will set freepath to
RETURN VALUESIf the vnode is successfully converted to a pathname, 0 is returned; otherwise, an error number is returned. SEE ALSOAUTHORSThis manual page was written by Robert Watson <rwatson@FreeBSD.org>.
|