fs.fstat(fd[, options], callback)


异步的 fstat(2)。 回调有两个参数 (err, stats),其中 stats 是 fs.Stats 对象。

Asynchronous fstat(2). The callback gets two arguments (err, stats) where stats is an fs.Stats object. fstat() is identical to stat(), except that the file to be stat-ed is specified by the file descriptor fd.