#include <sys/types.h>#include <assert.h>#include <stdio.h>#include <unistd.h>#include <fcntl.h>#include <stdlib.h>#include <string.h>#include <errno.h>#include <limits.h>#include <time.h>#include <dirent.h>#include <sys/stat.h>#include "misc.h"#include "tab.h"Include dependency graph for tab.c:

Go to the source code of this file.
Defines | |
| #define | nil ((void*)0) |
| #define | isdigit(c) ((unsigned) ((c) - '0') < 10) |
Functions | |
| static int | nextbit (bitmap_t map, int bit) |
| void | tab_reschedule (cronjob_t *job) |
| static char * | get_token (char **ptr) |
| static int | range_parse (char *file, char *data, bitmap_t map, int min, int max, int *wildcard) |
| void | tab_parse (char *file, char *user) |
| void | tab_find_atjob (char *atdir) |
| void | tab_purge (void) |
| static cronjob_t * | reap_or_find (pid_t pid) |
| void | tab_reap_job (pid_t pid) |
| cronjob_t * | tab_nextjob (void) |
| static void | pr_map (FILE *fp, bitmap_t map) |
| void | tab_print (FILE *fp) |
|
|
Definition at line 269 of file tab.c. Referenced by _doscan(), _str_ext_cvt(), another_hunk(), atol(), backslash(), bzopen_or_bzdopen(), cdiff(), command(), copy_action(), decode(), doargs(), dotted_num(), f_collect(), get_args(), get_number(), getcomm(), gethostbyname(), getids(), getnumber(), inet_network(), input_char(), is_reserved(), isnum(), keyword(), lexi(), linespec(), long_val(), main(), may_kill_region(), meta(), num(), numcvt(), o_collect(), okname(), p_count(), p_ere_exp(), p_simp_re(), parsefont(), parselength(), parsetime(), parseZoneName(), parsopt(), printline(), range(), scannum(), scanstr(), tab_find_atjob(), tgetstr(), and value(). |
|
|
|
|
|
Definition at line 271 of file tab.c. Referenced by ack_get_C_expression(), ack_get_instruction(), ack_get_operand(), ack_get_oplist(), ack_get_statement(), bas_get_C_expression(), bas_get_instruction(), bas_get_operand(), bas_get_oplist(), bas_get_statement(), get_line(), get_list(), get_string(), gnu_get_C_expression(), gnu_get_instruction(), gnu_get_operand(), gnu_get_oplist(), gnu_get_statement(), and zap(). |
|
||||||||||||
|
Definition at line 24 of file tab.c. References bit_isset. |
|
||||||||||||
|
|
|
||||||||||||||||||||||||||||
|
|
|
|
Definition at line 710 of file tab.c. References crontabs, IDLE_PID, if(), job(), NEVER, next, nil, tab, and tab_reschedule(). Referenced by tab_nextjob(), and tab_reap_job(). |
|
|
Definition at line 596 of file tab.c. References entry, i, isdigit, localtime(), NEVER, nil, now, opendir, readdir, spool(), t1, tab, and time_t. Referenced by load_crontabs(). |
|
|
Definition at line 741 of file tab.c. References NO_PID, and reap_or_find(). Referenced by main(). |
|
||||||||||||
|
Definition at line 383 of file tab.c. References atab, crontabs, n, nil, ok(), r, st, strcmp, tab, and wc. Referenced by load_crontabs(), and main(). |
|
|
Definition at line 771 of file tab.c. References crontabs, ctime(), fp, fprintf(), if(), job(), nil, and tab. Referenced by load_crontabs(). |
|
|
Definition at line 682 of file tab.c. References atab, crontabs, deallocate, job(), nil, and tab. Referenced by load_crontabs(), and main(). |
|
|
Definition at line 733 of file tab.c. References reap_or_find(). Referenced by main(). |
|
|
Definition at line 34 of file tab.c. References job(), localtime(), NEVER, now, time_t, tm::tm_hour, tm::tm_min, and tm::tm_sec. Referenced by reap_or_find(), and run_job(). |
1.4.6