HomeSort by: relevance | last modified time | path
    Searched defs:score_fd (Results 1 - 2 of 2) sorted by relevancy

  /src/games/atc/
log.c 119 int score_fd; local in function:open_score_file
124 score_fd = open(_PATH_SCORE, O_CREAT|O_RDWR|O_NOFOLLOW, 0664);
126 score_fd = open(_PATH_SCORE, O_CREAT|O_RDWR, 0664);
129 if (score_fd < 0) {
133 if (score_fd < 3)
137 flags = fcntl(score_fd, F_GETFD);
141 if (fcntl(score_fd, F_SETFD, flags) == -1)
147 score_fp = fdopen(score_fd, "r+");
log.c 119 int score_fd; local in function:open_score_file
124 score_fd = open(_PATH_SCORE, O_CREAT|O_RDWR|O_NOFOLLOW, 0664);
126 score_fd = open(_PATH_SCORE, O_CREAT|O_RDWR, 0664);
129 if (score_fd < 0) {
133 if (score_fd < 3)
137 flags = fcntl(score_fd, F_GETFD);
141 if (fcntl(score_fd, F_SETFD, flags) == -1)
147 score_fp = fdopen(score_fd, "r+");

Completed in 51 milliseconds