truncate.2 (2010 09)

t
truncate(2) truncate(2)
[ENOENT] A component of path does not name an existing file or path is an empty
string.
[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
chmod(2), fcntl(2), flock(2), ftruncate64(2), lockf(2), open(2), truncate64(2), privileges(5), <unistd.h>.
CHANGE HISTORY
First released in Issue 4, Version 2.
STANDARDS CONFORMANCE
truncate(): AES ftruncate(): AES, SVID3
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010