BSD 4_3_Tahoe release
[unix-history] / usr / src / ucb / tn3270 / sys_dos / spint.h
/*
* Copyright (c) 1988 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that this notice is preserved and that due credit is given
* to the University of California at Berkeley. The name of the University
* may not be used to endorse or promote products derived from this
* software without specific prior written permission. This software
* is provided ``as is'' without express or implied warranty.
*
* @(#)spint.h 3.2 (Berkeley) 3/28/88
*/
/*
* The 'spint' (spawn and interrupt) routines use this structure.
*
* Note that spint_asm.asm contains an Assembly language version of
* the following, so keep changes in synch!
*/
typedef struct {
union REGS regs;
struct SREGS sregs;
int int_no; /* Which interrupt to wait on */
int done; /* Are we done, or just took an interrupt? */
int rc; /* return code */
} Spint;