- fstat(fd: number, callback: ((err: null | ErrnoException, stats: Stats) => void)): void
-
Returns void
- fstat(fd: number, options: undefined | StatOptions & {
bigint?: false;
}, callback: ((err: null | ErrnoException, stats: Stats) => void)): void
-
Returns void
- fstat(fd: number, options: StatOptions & {
bigint: true;
}, callback: ((err: null | ErrnoException, stats: BigIntStats) => void)): void
-
Returns void
- fstat(fd: number, options: undefined | StatOptions, callback: ((err: null | ErrnoException, stats: Stats | BigIntStats) => void)): void
-
Returns void
Invokes the callback with the
fs.Stats
for the file descriptor.See the POSIX
fstat(2)
documentation for more detail.Since
v0.1.95