Guardian Procedure Calls Reference Manual (G06.25+)

File Names and Process Identifiers
Guardian Procedure Calls Reference Manual522629-013
D-14
OSS Pathname Syntax
filename. The maximum length is NAME_MAX characters, as defined in the
limitsh header file (this value is 248).
Examples
OSS pathnames can be absolute or relative. Absolute pathnames begin with a slash
(
/), which indicates the root directory. The following is an example of an absolute OSS
pathname:
/usr/ccomp/prog1.c
Relative pathnames (which do not begin with a slash) are relative to the OSS current
working directory. Examples of relative OSS pathnames follow:
refman/ch1 Refers to a file (ch1) in a subdirectory (refman) of the
current working directory.
./refman/ch1 Refers to the same file as the previous example.
../yourfiles/oldmail Refers to a file (oldmail) in a subdirectory
(
yourfiles) of the parent directory of the current
working directory.
/E/forty/usr/ccom/prog1.c Refers to a OSS file name (prog1.c) in a
subdirectory (
ccom) in a subdirectory (usr) in a
subdirectory (
forty) after the E root directory.
/E/forty/G/books/donl/text180 Refers to a Guardian file name (text180) in
a subvolume (
donl) in a volume (books) on the HP
node (
forty).
For details on OSS pathnames and the OSS file system, see the Open System
Services Programmer’s Guide and the filename(5) reference page either online or
in the
Open System Services System Calls Reference Manual.