Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual—522629-013
12-5
PATHNAME_TO_FILENAME_ Procedure
PATHNAME_TO_FILENAME_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
OSS Considerations
Example in C
Related Programming Manual
Summary
The PATHNAME_TO_FILENAME_ procedure converts an OSS pathname to a 
Guardian file name. See Appendix D, File Names and Process Identifiers
, for a 
description of the OSS pathname syntax. 
Syntax for C Programmers     
Syntax for TAL Programmers        
Parameters
error returned value
INT
returns a file-system error number indicating the outcome of the operation:
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.
#include <cextdecs(PATHNAME_TO_FILENAME_)>
short PATHNAME_TO_FILENAME_ ( const char *path 
 ,char *filename 
 ,short maxlen 
 ,short *length 
 ,[ short *infoflags ] );
error := PATHNAME_TO_FILENAME_ ( pathname ! i
 ,filename:maxlen ! o:i
 ,length  ! o
 ,[ info-flags ] ); ! o










