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