mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-15 11:20:03 +00:00
24 lines
302 B
C
24 lines
302 B
C
|
enum
|
||
|
{
|
||
|
NPRIV = 16,
|
||
|
RENDHASH = 33,
|
||
|
PIDHASH = 33,
|
||
|
};
|
||
|
|
||
|
typedef struct Uproc Uproc;
|
||
|
struct Uproc
|
||
|
{
|
||
|
Uproc *next;
|
||
|
int pid;
|
||
|
int pipe[2];
|
||
|
int state;
|
||
|
void *priv[NPRIV];
|
||
|
ulong rendval;
|
||
|
ulong rendtag;
|
||
|
Uproc *rendhash;
|
||
|
p9jmp_buf notejb;
|
||
|
};
|
||
|
|
||
|
extern Uproc *_p9uproc(void);
|
||
|
extern void _p9uprocdie(void);
|