fs.fstatSync(fd[, options])
-
fd<integer> -
options<Object>-
bigint<boolean> 返回的 <fs.Stats> 对象中的数值是否应为bigint。默认值:false。¥
bigint<boolean> Whether the numeric values in the returned <fs.Stats> object should bebigint. Default:false.
-
-
返回:<fs.Stats>
¥Returns: <fs.Stats>
获取文件描述符的 <fs.Stats>。
¥Retrieves the <fs.Stats> for the file descriptor.
有关更多详细信息,请参阅 POSIX fstat(2) 文档。
¥See the POSIX fstat(2) documentation for more detail.