projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5a41d17
)
pid_t is now a long, not a short
author
Keith Bostic
<bostic@ucbvax.Berkeley.EDU>
Sat, 29 May 1993 13:52:17 +0000
(
05:52
-0800)
committer
Keith Bostic
<bostic@ucbvax.Berkeley.EDU>
Sat, 29 May 1993 13:52:17 +0000
(
05:52
-0800)
SCCS-vsn: bin/ps/keyword.c 5.17
usr/src/bin/ps/keyword.c
patch
|
blob
|
blame
|
history
diff --git
a/usr/src/bin/ps/keyword.c
b/usr/src/bin/ps/keyword.c
index
b41794e
..
8face16
100644
(file)
--- a/
usr/src/bin/ps/keyword.c
+++ b/
usr/src/bin/ps/keyword.c
@@
-6,7
+6,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char sccsid[] = "@(#)keyword.c 5.1
6
(Berkeley) %G%";
+static char sccsid[] = "@(#)keyword.c 5.1
7
(Berkeley) %G%";
#endif /* not lint */
#include <sys/param.h>
#endif /* not lint */
#include <sys/param.h>
@@
-99,9
+99,9
@@
VAR var[] = {
{"pcpu", "", "%cpu"},
{"pending", "", "sig"},
{"pgid", "PGID", NULL, 0, evar, PIDLEN, EOFF(e_pgid), USHORT, PIDFMT},
{"pcpu", "", "%cpu"},
{"pending", "", "sig"},
{"pgid", "PGID", NULL, 0, evar, PIDLEN, EOFF(e_pgid), USHORT, PIDFMT},
- {"pid", "PID", NULL, 0, pvar, PIDLEN, POFF(p_pid),
SHORT
, PIDFMT},
+ {"pid", "PID", NULL, 0, pvar, PIDLEN, POFF(p_pid),
LONG
, PIDFMT},
{"pmem", "", "%mem"},
{"pmem", "", "%mem"},
- {"ppid", "PPID", NULL, 0, evar, PIDLEN, EOFF(e_ppid),
SHORT
, PIDFMT},
+ {"ppid", "PPID", NULL, 0, evar, PIDLEN, EOFF(e_ppid),
LONG
, PIDFMT},
{"pri", "PRI", NULL, 0, pri, 3},
{"re", "RE", NULL, 0, pvar, 3, POFF(p_time), CHAR, "d"},
{"rgid", "RGID", NULL, 0, evar, UIDLEN, EOFF(e_pcred.p_rgid),
{"pri", "PRI", NULL, 0, pri, 3},
{"re", "RE", NULL, 0, pvar, 3, POFF(p_time), CHAR, "d"},
{"rgid", "RGID", NULL, 0, evar, UIDLEN, EOFF(e_pcred.p_rgid),
@@
-185,10
+185,10
@@
VAR var[] = {
{"pcpu", "", "%cpu"},
{"pending", "", "sig"},
{"pgid", "PGID", NULL, 0, evar, PIDLEN, EOFF(e_pgid), USHORT, PIDFMT},
{"pcpu", "", "%cpu"},
{"pending", "", "sig"},
{"pgid", "PGID", NULL, 0, evar, PIDLEN, EOFF(e_pgid), USHORT, PIDFMT},
- {"pid", "PID", NULL, 0, pvar, PIDLEN, POFF(p_pid),
SHORT
, PIDFMT},
+ {"pid", "PID", NULL, 0, pvar, PIDLEN, POFF(p_pid),
LONG
, PIDFMT},
{"pmem", "", "%mem"},
{"poip", "POIP", NULL, 0, pvar, 4, POFF(p_poip), SHORT, "d"},
{"pmem", "", "%mem"},
{"poip", "POIP", NULL, 0, pvar, 4, POFF(p_poip), SHORT, "d"},
- {"ppid", "PPID", NULL, 0, pvar, PIDLEN, POFF(p_ppid),
SHORT
, PIDFMT},
+ {"ppid", "PPID", NULL, 0, pvar, PIDLEN, POFF(p_ppid),
LONG
, PIDFMT},
{"pri", "PRI", NULL, 0, pri, 3},
{"re", "RE", NULL, 0, pvar, 3, POFF(p_time), CHAR, "d"},
{"rgid", "RGID", NULL, 0, pvar, UIDLEN, POFF(p_rgid), USHORT, UIDFMT},
{"pri", "PRI", NULL, 0, pri, 3},
{"re", "RE", NULL, 0, pvar, 3, POFF(p_time), CHAR, "d"},
{"rgid", "RGID", NULL, 0, pvar, UIDLEN, POFF(p_rgid), USHORT, UIDFMT},