Function fstatSync

  • Retrieves 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 Stats

    Since

    v0.1.95

  • Parameters

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

    Returns BigIntStats

  • Parameters

    Returns Stats | BigIntStats

Generated using TypeDoc