#include <sys/types.h>#include <limits.h>Go to the source code of this file.
Classes | |
| struct | cronjob |
| struct | crontab |
Defines | |
| #define | NEVER ((time_t) ((time_t) -1 < 0 ? LONG_MAX : ULONG_MAX)) |
| #define | TAB_MAX ((sizeof(int) == 2 ? 8 : 128) * 1024) |
| #define | IDLE_PID ((pid_t) 0) |
| #define | NO_PID ((pid_t) -1) |
| #define | bit_set(map, n) ((void) ((map)[(n) >> 3] |= (1 << ((n) & 7)))) |
| #define | bit_clr(map, n) ((void) ((map)[(n) >> 3] &= ~(1 << ((n) & 7)))) |
| #define | bit_isset(map, n) (!!((map)[(n) >> 3] & (1 << ((n) & 7)))) |
Typedefs | |
| typedef unsigned char | bitmap_t [8] |
| typedef struct cronjob | cronjob_t |
| typedef struct crontab | crontab_t |
Functions | |
| void | tab_parse (char *file, char *user) |
| void | tab_find_atjob (char *atdir) |
| void | tab_purge (void) |
| void | tab_reap_job (pid_t pid) |
| void | tab_reschedule (cronjob_t *job) |
| cronjob_t * | tab_nextjob (void) |
| void | tab_print (FILE *fp) |
Variables | |
| crontab_t * | crontabs |
1.5.8