Home | History | Annotate | Download | only in atrun

Lines Matching defs:dirent

36 #include <dirent.h>
388 struct dirent *dirent;
469 while ((dirent = readdir(spool)) != NULL) {
472 if (stat(dirent->d_name, &buf) == -1)
473 perr("Cannot stat `%s' in `%s'", dirent->d_name,
482 if (sscanf(dirent->d_name, "%c%5x%8lx", &queue, &jobno,
490 (strcmp(batch_name, dirent->d_name) > 0)) {
492 (void)strlcpy(batch_name, dirent->d_name,
500 run_file(dirent->d_name, buf.st_uid,
509 (void)unlink(dirent->d_name);