function ftruncateSync
Jump to headingftruncateSync(fd: number,len?: number | null,): void
Truncates the file descriptor. Returns undefined
.
For detailed information, see the documentation of the asynchronous version of this API: ftruncate.
Parameters Jump to heading
Jump to headingfd: number
optional
Jump to headinglen: number | null = 0
Return Type Jump to heading
void