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

ftruncate(2) OSS System Calls Reference Manual
The value specied for the length parameter would cause the le to
exceed the le size limit for the calling process.
[EIO] One of these conditions occurred:
The process is a member of a background process group attempting to
read from its controlling terminal, the process is ignoring or blocking the
SIGTTIN signal, or the process group is orphaned.
A physical I/O error occurred. The device holding the le might be in
the down state, or both processors that provide access to the device
might have failed. Data might have been lost during a transfer.
[EISGUARDIAN]
The value used for the ledes parameter is appropriate only in the Guardian
environment.
[ENETDOWN]
The ledes parameter species a le on a remote HP NonStop node, but com-
munication with the remote node has been lost.
[EROFS] The le resides on a read-only leset.
For all other error conditions, errno is set to the appropriate Guardian le-system error number.
See the Guardian Procedure Errors and Messages Manual for more information about a specic
Guardian le-system error.
RELATED INFORMATION
Functions: chmod(2), fcntl(2), open(2).
STANDARDS CONFORMANCE
HP extensions to the XPG4 Version 2 specication are:
The errno values [EISGUARDIAN], [ENETDOWN], and [EROFS] can be returned.
334 Hewlett-Packard Company 527186-003