HP-UX Reference (11i v2 03/08) - 2 System Calls (vol 5)
t
truncate(2) truncate(2)
[ENOTDIR] A component of the path prefix of path is not a directory.
[EROFS] The named file resides on a read-only file system.
[ETXTBSY] The file is a pure procedure (shared text) file that is being executed.
AUTHOR
truncate() was developed by the University of California, Berkeley.
SEE ALSO
ftruncate64(2), open(2), truncate64(2), <unistd.h>.
CHANGE HISTORY
First released in Issue 4, Version 2.
STANDARDS CONFORMANCE
truncate(): AES ftruncate(): AES, SVID3
HP-UX 11i Version 2: August 2003 − 2 − Hewlett-Packard Company Section 2−−437