diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
commit | fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch) | |
tree | bdda434976bc09c864f2e4fa6f16ba1952b1e555 /lib/prc.com | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'lib/prc.com')
-rw-r--r-- | lib/prc.com | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/prc.com b/lib/prc.com new file mode 100644 index 00000000..719859f1 --- /dev/null +++ b/lib/prc.com @@ -0,0 +1,19 @@ +define MAX_PS 10 # maximum pseudofiles + +# Process table common. + +int pr_pid[MAX_CHILDPROCS] # process id +int pr_status[MAX_CHILDPROCS] # process status +int pr_inchan[MAX_CHILDPROCS] # input IPC channel from child +int pr_infd[MAX_CHILDPROCS] # fd of input IPC +int pr_outchan[MAX_CHILDPROCS] # output IPC channel to child +int pr_outfd[MAX_CHILDPROCS] # fd of output IPC +int pr_nopen[MAX_CHILDPROCS] # number of open channels +int pr_pstofd[MAX_CHILDPROCS,MAX_PS] # pseudofile -> FD +int pr_last_exit_code # exit code of last process closed +int pr_lastio # index of last active process +int pr_index # index of current process +int pr_oldipc # old X_IPC handler + +common /prccom/ pr_pid, pr_status, pr_inchan, pr_infd, pr_outchan, pr_outfd, + pr_nopen, pr_pstofd, pr_lastio, pr_last_exit_code, pr_index, pr_oldipc |