timestamp_fd 68 anacron/global.h int timestamp_fd; timestamp_fd 43 anacron/lock.c jr->timestamp_fd = open(jr->ident, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); timestamp_fd 44 anacron/lock.c if (jr->timestamp_fd == -1) timestamp_fd 46 anacron/lock.c fcntl(jr->timestamp_fd, F_SETFD, 1); /* set close-on-exec flag */ timestamp_fd 49 anacron/lock.c if (fchown(jr->timestamp_fd, getuid(), getgid())) timestamp_fd 51 anacron/lock.c if (fchmod(jr->timestamp_fd, S_IRUSR | S_IWUSR)) timestamp_fd 89 anacron/lock.c b = read(jr->timestamp_fd, timestamp, 8); timestamp_fd 115 anacron/lock.c xclose(jr->timestamp_fd); timestamp_fd 151 anacron/lock.c xclose (jr->timestamp_fd); timestamp_fd 161 anacron/lock.c xclose (jr->timestamp_fd); timestamp_fd 170 anacron/lock.c xclose (jr->timestamp_fd); timestamp_fd 176 anacron/lock.c if (lock_file(jr->timestamp_fd)) return 1; /* success */ timestamp_fd 179 anacron/lock.c xclose(jr->timestamp_fd); timestamp_fd 187 anacron/lock.c xclose(jr->timestamp_fd); timestamp_fd 202 anacron/lock.c if (lseek(jr->timestamp_fd, 0, SEEK_SET)) timestamp_fd 204 anacron/lock.c if (write(jr->timestamp_fd, stamp, 9) != 9) timestamp_fd 206 anacron/lock.c if (ftruncate(jr->timestamp_fd, 9)) timestamp_fd 216 anacron/lock.c xclose(jr->timestamp_fd);