functionfs.openSyncfunction openSync(path: PathLike,flags?: OpenMode,mode?: null | Mode): number;Returns an integer representing the file descriptor.For detailed information, see the documentation of the asynchronous version of this API: open.Referenced typestype PathLike = string | Buffer | URLValid types for path values in "fs".type OpenMode = number | stringtype Mode = number | string
Returns an integer representing the file descriptor.For detailed information, see the documentation of the asynchronous version of this API: open.