Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
OSS Library Calls (n - r) remove(3)
NAME
remove - Removes a file
LIBRARY
G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL
G-series native OSS processes: /G/system/sysnn/zcrtlsrl
H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL
32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll
64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll
DESCRIPTION
The C run-time library supports two variants of the remove() function: remove_oss( ) and
remove_guardian( ). These variants support the unique file naming conventions and structures
of the OSS and Guardian file systems, respectively.
The header file maps calls to remove( ) to the variant that matches the compiled target environ-
ment. The target environment is set with the systype pragma.
Explicit calls to the remove_oss( ) and remove_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 remove( ) OSS function, refer to the remove_oss(3) reference page. For
a description of the remove( ) Guardian function, refer to the remove_guardian(3) reference
page.
527187-017 Hewlett-Packard Company 5−181