Options
All
  • Public
  • Public/Protected
  • All
Menu

Callable

  • Asynchronous ftruncate(2) - Truncate a file to a specified length.

    Parameters

    • fd: number

      A file descriptor.

    • len: number | undefined | null

      If not specified, defaults to 0.

    • callback: NoParamCallback

    Returns void

  • Asynchronous ftruncate(2) - Truncate a file to a specified length.

    Parameters

    Returns void

Index

Functions

Functions

__promisify__

  • __promisify__(fd: number, len?: number | null): Promise<void>
  • Asynchronous ftruncate(2) - Truncate a file to a specified length.

    Parameters

    • fd: number

      A file descriptor.

    • Optional len: number | null

      If not specified, defaults to 0.

    Returns Promise<void>

Generated using TypeDoc