updated to -mdoc version 3
[unix-history] / usr / src / bin / csh / proc.h
index 45e965e..8327e96 100644 (file)
@@ -1,4 +1,10 @@
-/* proc.h 4.3 %G% */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved.  The Berkeley Software License Agreement
+ * specifies the terms and conditions for redistribution.
+ *
+ *     @(#)proc.h      5.2 (Berkeley) %G%
+ */
 
 /*
  * C shell - process structure declarations
 
 /*
  * C shell - process structure declarations
@@ -19,14 +25,12 @@ struct process      {
        short   unsigned p_flags;       /* various job status flags */
        char    p_reason;               /* reason for entering this state */
        char    p_index;                /* shorthand job index */
        short   unsigned p_flags;       /* various job status flags */
        char    p_reason;               /* reason for entering this state */
        char    p_index;                /* shorthand job index */
-       short   p_pid;
-       short   p_jobid;                /* pid of job leader */
+       int     p_pid;
+       int     p_jobid;                /* pid of job leader */
        /* if a job is stopped/background p_jobid gives its pgrp */
        struct  timeval p_btime;        /* begin time */
        struct  timeval p_etime;        /* end time */
        struct  rusage p_rusage;
        /* if a job is stopped/background p_jobid gives its pgrp */
        struct  timeval p_btime;        /* begin time */
        struct  timeval p_etime;        /* end time */
        struct  rusage p_rusage;
-       long    p_utime;        /* XXX */
-       long    p_stime;        /* XXX */
        char    *p_command;             /* first PMAXLEN chars of command */
 };
 
        char    *p_command;             /* first PMAXLEN chars of command */
 };
 
@@ -74,8 +78,6 @@ struct        process *pprevious;             /* previous job in table */
 
 short  pmaxindex;                      /* current maximum job index */
 
 
 short  pmaxindex;                      /* current maximum job index */
 
-bool   timesdone;                      /* shtimes buffer full ? */
-
 int    psigint();
 struct process *pgetcurr();
 struct process *plookup();
 int    psigint();
 struct process *pgetcurr();
 struct process *plookup();