ftruncateSync

external fun ftruncateSync(fd: Number, len: Double? = definedExternally)(source)

Truncates the file descriptor. Returns undefined.

For detailed information, see the documentation of the asynchronous version of this API: {@link ftruncate}.

Since

v0.8.6

Parameters

len=0