»Home
»Examples
»Invocation
»Runtime Library
»Python Bindings
»Known Issues
Shellcode Compiler
A custom shellcode compiler for Binary Ninja
int truncate(const char* path, int64_t length);

Sets the length of the file at path to length bytes. Returns zero on success, or the negation of the error code on error.

See also