File: prc.com

package info (click to toggle)
iraf 2.18.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 86,000 kB
  • sloc: ansic: 115,890; fortran: 74,576; lisp: 18,888; yacc: 5,642; sh: 961; lex: 596; makefile: 509; asm: 159; csh: 54; xml: 33; sed: 4
file content (27 lines) | stat: -rw-r--r-- 1,061 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
int	epa_giotr			# gio.cursor driver entry points
int	epa_control			#	"	"
int	epa_gflush			#	"	"
int	epa_writep			#	"	"
int	epa_readtty			#	"	"
int	epa_writetty			#	"	"

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,
	epa_giotr, epa_control, epa_gflush, epa_writep, epa_readtty,
	epa_writetty