Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual—522629-013
5-207
FILENAME_TO_PATHNAME_ Procedure
4002 filename 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
EFAULT.
4022 One of the following conditions has occurred:
options is specified and
options.<0:12> does not contain all zeros; filename is not a valid file
or subvolume name; when resolving multiple pathames to a file,
index
does not correspond to a pathname of the file; or
options.<13> = 0,
options.14 = 1 and a chroot() function was executed which changed
the root to something other than “/.” 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 limits.h header
file.) The corresponding OSS
errno value is ECWDTOOLONG.
filename:length input:input
STRING .EXT:ref:*, INT:value
specifies the name of the file or subvolume to be converted. To indicate that
filename contains a subvolume name, use the options parameter. The value
of
filename must be exactly length bytes long, and it must be a valid disk file
name. If the name is partially qualified, it is resolved using the contents of the
VOLUME attribute of the =_DEFAULTS DEFINE.
pathname:maxlen output:input
STRING .EXT:ref:*, INT:value
returns the null-terminated OSS pathname that corresponds to the Guardian
filename. maxlen specifies the maximum length in bytes of pathname,
including the terminating null character.
pathlen output
INT .EXT:ref:1
returns the actual length in bytes of the
pathname parameter, including the
terminating null character.