aboutsummaryrefslogtreecommitdiff
path: root/unix/os/zglobl.c
blob: 0fec31e6101280019f86920a68f71341e8252134 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
 */

#include <stdio.h>
#define import_spp
#define	import_kernel
#include <iraf.h>

#define	SZ_PROCNAME	256

/* Allocate ZFD, the global data structure for the kernel file i/o system.
 * Also allocate a buffer for the process name, used by the error handling
 * code to identify the process generating an abort.
 */
struct	fiodes zfd[MAXOFILES];
char	os_process_name[SZ_PROCNAME];
PKCHAR	osfn_bkgfile[SZ_PATHNAME/sizeof(PKCHAR)+1];
int	save_prtype = 0;
char	oscwd[SZ_PATHNAME+1];