Guardian Programming Reference Summary for C
Functions Summary (O-Q)
Guardian Programming Reference Summary for C—522630-001
7-7
PATHNAME_TO_FILENAME_
Converts an OSS pathname to a Guardian file name.
returned value:
#include <cextdecs(PATHNAME_TO_FILENAME_)>
short PATHNAME_TO_FILENAME_ ( const char *path /* i */
,char *filename /* o */
,short maxlen /* i */
,short *length /* o */
,[ short *infoflags ] ); /* o */
0=No error.
563 = The buffer pointed to by filename is too small.
4002 = No such pathname exists. The corresponding OSS errno value is
ENOENT.
4006 = The 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 = The value of pathname is invalid. The corresponding OSS errno value
is EINVAL.
4131 = The pathname or a component of the pathname is longer than PATH_MAX
characters. (PATH_MAX is a symbolic constant defined in the OSS limits
header file.) The corresponding OSS errno value is ENAMETOOLONG.
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.