4 |
This file must be #included in job.c, as it accesses static functions. |
This file must be #included in job.c, as it accesses static functions. |
5 |
*/ |
*/ |
6 |
|
|
7 |
|
#include <string.h> |
8 |
|
#include <descrip.h> |
9 |
|
#include <clidef.h> |
10 |
|
|
11 |
|
extern char *vmsify PARAMS ((char *name, int type)); |
12 |
|
|
13 |
static int vms_jobsefnmask = 0; |
static int vms_jobsefnmask = 0; |
14 |
|
|
15 |
/* Wait for nchildren children to terminate */ |
/* Wait for nchildren children to terminate */ |
16 |
void |
static void |
17 |
vmsWaitForChildren(int *status) |
vmsWaitForChildren(int *status) |
18 |
{ |
{ |
19 |
while (1) |
while (1) |
97 |
return p; |
return p; |
98 |
} |
} |
99 |
|
|
|
#include <descrip.h> |
|
|
#include <clidef.h> |
|
|
|
|
100 |
/* This is called as an AST when a child process dies (it won't get |
/* This is called as an AST when a child process dies (it won't get |
101 |
interrupted by anything except a higher level AST). |
interrupted by anything except a higher level AST). |
102 |
*/ |
*/ |
199 |
#define MAXCMDLEN 200 |
#define MAXCMDLEN 200 |
200 |
|
|
201 |
/* local helpers to make ctrl+c and ctrl+y working, see below */ |
/* local helpers to make ctrl+c and ctrl+y working, see below */ |
202 |
|
#include <iodef.h> |
203 |
#include <libclidef.h> |
#include <libclidef.h> |
204 |
#include <ssdef.h> |
#include <ssdef.h> |
205 |
|
|