Function fstat

  • Invokes the callback with the fs.Stats for the file descriptor.

    See the POSIX fstat(2) documentation for more detail.

    Parameters

    • fd: number
    • callback: ((err, stats) => void)

    Returns void

    Since

    v0.1.95

    See

  • Invokes the callback with the fs.Stats for the file descriptor.

    See the POSIX fstat(2) documentation for more detail.

    Parameters

    • fd: number
    • options: undefined | StatOptions & {
          bigint?: false;
      }
    • callback: ((err, stats) => void)

    Returns void

    Since

    v0.1.95

    See

  • Invokes the callback with the fs.Stats for the file descriptor.

    See the POSIX fstat(2) documentation for more detail.

    Parameters

    Returns void

    Since

    v0.1.95

    See

  • Invokes the callback with the fs.Stats for the file descriptor.

    See the POSIX fstat(2) documentation for more detail.

    Parameters

    Returns void

    Since

    v0.1.95

    See

  • Invokes the callback with the fs.Stats for the file descriptor.

    See the POSIX fstat(2) documentation for more detail.

    Parameters

    • fd: number
    • Optional options: StatOptions & {
          bigint?: false;
      }

    Returns Promise<Stats>

    Since

    v0.1.95

    See

  • Invokes the callback with the fs.Stats for the file descriptor.

    See the POSIX fstat(2) documentation for more detail.

    Parameters

    • fd: number
    • options: StatOptions & {
          bigint: true;
      }

    Returns Promise<BigIntStats>

    Since

    v0.1.95

    See

  • Invokes the callback with the fs.Stats for the file descriptor.

    See the POSIX fstat(2) documentation for more detail.

    Parameters

    Returns Promise<Stats | BigIntStats>

    Since

    v0.1.95

    See

Methods

  • Asynchronous fstat(2) - Get file status.

    Parameters

    • fd: number

      A file descriptor.

    • Optional options: StatOptions & {
          bigint?: false;
      }

    Returns Promise<Stats>

  • Parameters

    • fd: number
    • options: StatOptions & {
          bigint: true;
      }

    Returns Promise<BigIntStats>

  • Parameters

    Returns Promise<Stats | BigIntStats>

Generated using TypeDoc