Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)

unlink(2) OSS System Calls Reference Manual
[EROFS] The entry to be unlinked is part of a read-only fileset.
[ETXTBSY] One of the following conditions exists:
The entry to be unlinked is the last directory entry to a file that is already
busy.
The named file is a NonStop SQL/MP object file that is currently execut-
ing.
RELATED INFORMATION
Commands: rm(1).
Functions: close(2), link(2), open(2), rmdir(2).
STANDARDS CONFORMANCE
The POSIX standards leave some features to the implementing vendor to define. The following
features are affected in the HP implementation:
The calling process requires both execute (search) and write access permission for the
directory containing the file being unlinked.
The unlink( ) function is not supported for directories.
The following are HP extensions to the XPG4 Version 2 specification:
The errno values [EFAULT], [EFSBAD], [EGUARDIANOPEN], [EINVAL],
[ENOROOT], [ENOTSUP], [ENXIO], and [EOSSNOTRUNNING] can be returned.
910 Hewlett-Packard Company 527186-023