diff options
Diffstat (limited to 'contrib/tcsh/sh.proc.h')
-rw-r--r-- | contrib/tcsh/sh.proc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/tcsh/sh.proc.h b/contrib/tcsh/sh.proc.h index 48a3771..bb59dd6 100644 --- a/contrib/tcsh/sh.proc.h +++ b/contrib/tcsh/sh.proc.h @@ -1,4 +1,4 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.proc.h,v 3.13 2009/06/19 16:35:33 christos Exp $ */ +/* $Header: /p/tcsh/cvsroot/tcsh/sh.proc.h,v 3.15 2011/04/14 18:25:25 christos Exp $ */ /* * sh.proc.h: Process data structures and variables */ @@ -51,6 +51,7 @@ struct process { unsigned long p_flags; /* various job status flags */ unsigned char p_reason; /* reason for entering this state */ int p_index; /* shorthand job index */ + pid_t p_parentid; /* parent pid */ pid_t p_procid; pid_t p_jobid; /* pid of job leader */ /* if a job is stopped/background p_jobid gives its pgrp */ @@ -102,6 +103,7 @@ struct process { #define PNEEDNOTE (1<<15) /* notify as soon as practical */ #define PBACKQ (1<<16) /* Process is `` evaluation */ #define PHUP (1<<17) /* Process is marked for SIGHUP on exit */ +#define PBRACE (1<<18) /* Process is {} evaluation */ /* defines for arguments to pprint */ #define NUMBER 01 |