binaryninja/commercial/scc-docs/ftruncate.txt

16 lines
408 B
Plaintext
Raw Normal View History

2018-12-13 18:39:52 +00:00
ftruncate
=========
:title: Shellcode Compiler Runtime
---------------------------------------------
int ftruncate(int fd, int64_t length);
---------------------------------------------
Sets the length of the file referenced by file handle `fd` to `length` bytes. Returns zero on success, or the negation
of the error code on error.
See also
--------
link:lseek.html[lseek],
link:truncate.html[truncate]