projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated to -mdoc version 3
[unix-history]
/
usr
/
src
/
bin
/
csh
/
proc.h
diff --git
a/usr/src/bin/csh/proc.h
b/usr/src/bin/csh/proc.h
index
0cb12a4
..
8327e96
100644
(file)
--- a/
usr/src/bin/csh/proc.h
+++ b/
usr/src/bin/csh/proc.h
@@
-1,4
+1,10
@@
-/* proc.h 4.2 %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,13
+25,11
@@
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 */
/* if a job is stopped/background p_jobid gives its pgrp */
- time_t p_btime; /* begin time */
- time_t p_etime; /* end time */
- long p_stime; /* system cpu time */
- long p_utime; /* user cpu time */
+ struct timeval p_btime; /* begin time */
+ struct timeval p_etime; /* end time */
struct rusage p_rusage;
char *p_command; /* first PMAXLEN chars of command */
};
struct rusage p_rusage;
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();