version 1.10, 2012/09/21 07:55:20 |
version 1.11, 2012/10/06 09:32:40 |
|
|
#define JOB_EXIT_OKAY 0 |
#define JOB_EXIT_OKAY 0 |
#define JOB_EXIT_BAD 1 |
#define JOB_EXIT_BAD 1 |
#define JOB_SIGNALED 2 |
#define JOB_SIGNALED 2 |
|
int sent_signal; |
int code; /* exit status or signal code */ |
int code; /* exit status or signal code */ |
LstNode next_cmd; /* Next command to run */ |
LstNode next_cmd; /* Next command to run */ |
char *cmd; /* Last command run */ |
char *cmd; /* Last command run */ |
|
|
unsigned short flags; |
unsigned short flags; |
#define JOB_SILENT 0x001 /* Command was silent */ |
#define JOB_SILENT 0x001 /* Command was silent */ |
#define JOB_IS_EXPENSIVE 0x002 |
#define JOB_IS_EXPENSIVE 0x002 |
|
#define JOB_LOST 0x004 /* sent signal to non-existing pid ? */ |
#define JOB_ERRCHECK 0x008 /* command wants errcheck */ |
#define JOB_ERRCHECK 0x008 /* command wants errcheck */ |
#define JOB_MINE 0x010 /* XXX special job run by compat */ |
|
}; |
}; |
|
|
extern bool job_run_next(Job *); |
extern bool job_run_next(Job *); |