Open System Services System Calls Reference Manual (G06.25+, H06.03+)

chroot(2) OSS System Calls Reference Manual
[ENOENT] One of the following conditions exists:
The named directory does not exist.
The specied pathname is an empty string.
The specied pathname cannot be mapped to a valid Guardian lename.
[ENOROOT] The root leset (leset 0) is not in the STARTED state.
[ENOTDIR] A component of the specied pathname is not a directory.
[ENXIO] The leset containing the clients working directory or effective root directory is
not mounted.
[EOSSNOTRUNNING]
The program attempted an operation on an object in the OSS environment while
a required system process was not running.
[EPERM] One of the following conditions exists:
The path parameter species a subvolume in /G with a reserved name
(for example, /G/volume/ZYQ00000).
The path parameter species a process name in /G (for example,
/G/ztnt).
The path parameter species an invalid subvolume name in /G.
The process does not have appropriate privileges.
RELATED INFORMATION
Commands: cd(1).
Functions: chdir(2).
STANDARDS CONFORMANCE
The following are HP extensions to the XPG4 Version 2 specication:
The errno values [EFAULT], [EFSBAD], [EINVAL], [ENOROOT], [ENXIO], and
[EOSSNOTRUNNING] can be returned.
124 Hewlett-Packard Company 527186-003