fstat

external fun fstat(fd: Number, callback: (err: ErrnoException?, stats: Stats) -> Unit)(source)

Invokes the callback with the fs.Stats for the file descriptor.

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

Since

v0.1.95


external fun fstat(fd: Number, options: FstatOptions?, callback: (err: ErrnoException?, stats: Stats) -> Unit)(source)
external fun fstat(fd: Number, options: FstatBigIntOptions, callback: (err: ErrnoException?, stats: BigIntStats) -> Unit)(source)
external fun fstat(fd: Number, options: StatOptions?, callback: (err: ErrnoException?, stats: Any) -> Unit)(source)