Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/node/fs.ts>ftruncate

Deno standard library
Go to Latest
function ftruncate
Re-export
import { ftruncate } from "https://deno.land/std@0.170.0/node/fs.ts";

Parameters

fd: number
lenOrCallback: number | CallbackWithError
optional
maybeCallback: CallbackWithError