proc close(fd: int) {....raises: [OSError], tags: [], forbids: [].}
proc closerange(fd_low, fd_high: int) {....raises: [], tags: [], forbids: [].}
proc open(path: PathLike; flags: int; mode = 0o000000000777; dir_fd = -1): int