r 61 anacron/lock.c int r; r 69 anacron/lock.c r = fcntl(fd, F_SETLK, &sfl); r 70 anacron/lock.c if (r != -1) return 1; r 45 anacron/matchrx.c int r, n; r 59 anacron/matchrx.c r = regexec(&crx, string, n_sub + 1, sub_offsets, 0); r 60 anacron/matchrx.c if (r != 0 && r != REG_NOMATCH) { r 65 anacron/matchrx.c if (r == REG_NOMATCH) { r 117 anacron/readtab.c int i, r; r 121 anacron/readtab.c r = fnmatch(job_args[i], ident, 0); r 122 anacron/readtab.c if (r == 0) return i; r 123 anacron/readtab.c if (r != FNM_NOMATCH) die("fnmatch() error"); r 289 anacron/readtab.c int r; r 301 anacron/readtab.c r = match_rx("^[ \t]*($|#)", line, 0); r 302 anacron/readtab.c if (r == -1) goto reg_err; r 303 anacron/readtab.c if (r) r 310 anacron/readtab.c r = match_rx("^[ \t]*([^ \t=]+)[ \t]*=(.*)$", line, 2, r 312 anacron/readtab.c if (r == -1) goto reg_err; r 313 anacron/readtab.c if (r) r 317 anacron/readtab.c r = match_rx("^([[:digit:]]+)-([[:digit:]]+)$", value, 2, &from, &to); r 318 anacron/readtab.c if (r == -1) goto reg_err; r 319 anacron/readtab.c if (r == 0) goto reg_invalid; r 329 anacron/readtab.c r = match_rx("^([[:digit:]]+)$", value, 0); r 330 anacron/readtab.c if (r == -1) goto reg_err; r 331 anacron/readtab.c if (r == 0) goto reg_invalid; r 337 anacron/readtab.c r = match_rx("^([[:digit:]]+)$", value, 1, &pref_hour); r 338 anacron/readtab.c if (r == -1) goto reg_err; r 340 anacron/readtab.c if (r) { r 353 anacron/readtab.c r = match_rx("^[ \t]*([[:digit:]]+)[ \t]+([[:digit:]]+)[ \t]+" r 356 anacron/readtab.c if (r == -1) goto reg_err; r 357 anacron/readtab.c if (r) r 364 anacron/readtab.c r = match_rx("^[ \t]*(@[^ \t]+)[ \t]+([[:digit:]]+)[ \t]+" r 367 anacron/readtab.c if (r == -1) goto reg_err; r 368 anacron/readtab.c if (r) r 197 anacron/runjob.c pid_t r; r 199 anacron/runjob.c r = waitpid(pid, status, WNOHANG); r 200 anacron/runjob.c if (r == -1) die_e("waitpid() error"); r 201 anacron/runjob.c if (r == 0) return 0;