Skip to main content
function fstatSync
fstatSync(
fd: number,
options?: StatOptions & { bigint?: false | undefined; },
): Stats
Deprecated

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 | undefined; }

Return Type

fstatSync(
fd: number,
options: StatOptions & { bigint: true; },
): BigIntStats
Deprecated

Parameters

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

Return Type

fstatSync(
fd: number,
options?: StatOptions,
): Stats | BigIntStats
Deprecated

Parameters

fd: number
optional
options: StatOptions

Return Type

Back to top