Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual—522629-013
12-6
PATHNAME_TO_FILENAME_ Procedure
4006 A prefix within pathname refers to an OSS fileset other than the root
fileset that is not mounted. The corresponding OSS
errno value is
ENXIO.
4013 Search permission is denied on a component of the pathname prefix. The
corresponding OSS
errno value is EACCESS.
4014 A specified parameter has an invalid address. The corresponding OSS
errno value is EFAULT.
4020 A prefix within
pathname refers to a file other than a directory. The
corresponding OSS
errno value is ENOTDIR.
4022
pathname is invalid. The corresponding OSS errno value is EINVAL.
4131 The pathname, a component of the pathname, or a symbolic link in the
pathname is longer than PATH_MAX characters. (PATH_MAX is a
symbolic constant that is defined in the OSS
limitsh header file.) See
Appendix D, File Names and Process Identifiers, for pathname syntax. The
corresponding OSS
errno value is ENAMETOOLONG.
4200 The pathname or a component of the pathname has too many symbolic
links to resolve the specified pathname. The corresponding OSS
errno
value is
ELOOP.
4202 The root fileset is not mounted. The corresponding OSS
errno value is
ENOROOT.
4203 OSS is not installed or is not initialized. The corresponding OSS
errno
value is
EOSSNOTRUNNING.
pathname input
STRING .EXT:ref:*
is the null-terminated OSS pathname to be converted into its corresponding
Guardian file name.
filename:maxlen output:input
STRING .EXT:ref:*, INT:value
returns the Guardian file name that corresponds to
pathname. The file name is
not null-terminated; its length is returned in
length.
maxlen specifies the maximum length in bytes of the name that can be returned
in
filename. If maxlen is not large enough, error returns 563 (buffer too small)
and
length returns the actual length of the name.
filename contains a null string if pathname does not correspond to a Guardian
file name. In this case, the value returned in
error is 0.