• Truncates the file descriptor. Returns undefined.

    For detailed information, see the documentation of the asynchronous version of this API: ftruncate.

    Since

    v0.8.6

    Parameters

    • fd: number
    • Optional len: null | number

    Returns void