Guardian Programming Reference Summary for C
Functions Summary (D-F)
Guardian Programming Reference Summary for C—522630-001
5-46
FILENAME_TO_PATHNAME_
Converts a Guardian file name or subvolume name to an OSS pathname.
return value:
#include <cextdecs(FILENAME_TO_PATHNAME_)>
short FILENAME_TO_PATHNAME_ ( const char *filename /* i */
,short length /* i */
,char *pathname /* o */
,short maxlen /* i */
,short *pathlen /* o */
,short [ options ] /* i */
,short [ *index ] );
0=No error.
563 = The pathname buffer is too small to contain the resulting name.
4002 = The filename parameter specifies a Guardian name for an OSS file that
either does not exist or has been unlinked but is still open by some process.
The corresponding OSS errno value is ENOENT.
4006 = The fileset that corresponds to the supplied Guardian name for an OSS file
is not mounted. The corresponding OSS errno value is ENXIO.
4013 = The caller does not have search access to one of the directories within all of
the resulting pathnames. The corresponding OSS errno value is
EACCESS.
4014 = A parameter has an invalid address. The corresponding OSS errno value
is DEFAULT.
4022 = Either options is specified and options.<14> does not contain all zeros
or filename is not a valid file or subvolume name. The corresponding
OSS errno value is EINVAL.
4202 = The root fileset is not mounted. The corresponding OSS errno value is
ENOROOT.
4211 = The resulting pathname is longer than the limit defined in PATH_MAX.
(PATH_MAX is a symbolic constant defined in the OSS limitsh header
file.) The corresponding OSS errno value is ECWDTOOLONG.