Skip to main content

fstatSync

function fstatSync
Jump to headingfstatSync(
fd: number,
options?: StatOptions & { bigint?: false | undefined; },
): Stats

Retrieves the fs.Stats for the file descriptor.

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

Parameters Jump to heading

optional
Jump to headingoptions: StatOptions & { bigint?: false | undefined; }

Return Type Jump to heading

Jump to headingfstatSync(
fd: number,
options: StatOptions & { bigint: true; },
): BigIntStats

Parameters Jump to heading

Jump to headingoptions: StatOptions & { bigint: true; }

Return Type Jump to heading

Jump to headingfstatSync(
fd: number,
options?: StatOptions,
): Stats | BigIntStats
Back to top