Guardian Native C Library Calls Reference Manual (G06.28+, H06.04+)

fopen(3) Guardian Native C Library Calls Reference Manual
NAME
fopen - Opens a le stream
LIBRARY
G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL
G-series native OSS processes: /G/system/sysnn/zcrtlsrl
H-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL
H-series OSS processes: /G/system/zdllnnn/zcrtldll
DESCRIPTION
The C run-time library supports two variants of the fopen() function: fopen_oss() and
fopen_guardian(). The variants support the unique le naming conventions and structures of the
OSS and Guardian le systems, respectively.
The header le maps calls to fopen( ) to the variant that matches the target compilation environ-
ment. The target environment is set with the systype pragma.
Explicit calls to the fopen_oss() and fopen_guardian() variants in source code are only made
when the behavior of one environment is desired from the other environment.
For a description of the fopen() OSS function and the fopen_oss( ) function, refer to the
fopen_oss(3) reference page. For a description of the fopen( ) Guardian function and the
fopen_guardian() function, refer to the fopen_guardian(3) reference page.
226 Hewlett-Packard Company 527192-005