Open System Services System Calls Reference Manual (G06.28+)

rename(2) OSS System Calls Reference Manual
NAME
rename - Renames a le or directory
LIBRARY
G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL
G-series native OSS processes: system library
H-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL
H-series OSS processes: implicit libraries
DESCRIPTION
The C run-time library supports two variants of the rename() function: rename_oss() and
rename_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 rename() to the variant that matches the target compilation
environment. The target environment is set with the systype pragma.
Explicit calls to the rename_oss() and rename_guardian() variants in source code are made
only when the behavior of one environment is desired from the other environment.
For a description of the OSS rename() function and the rename_oss() function, see the
rename_oss(2) reference page. For a description of the Guardian rename() function and the
rename_guardian() function, see the rename_guardian(2) reference page.
626 Hewlett-Packard Company 527186-005