fs.openSync(path[, flags[, mode]])
path<string> | <Buffer> | <URL>flags<string> | <number> 默认值:'r'。 参见 文件系统flags支持。mode<string> | <integer> 默认值:0o666- 返回:<number>
返回表示文件描述符的整数。
【Returns an integer representing the file descriptor.】
有关详细信息,请参阅此 API 异步版本的文档:fs.open()。
【For detailed information, see the documentation of the asynchronous version of
this API: fs.open().】