summaryrefslogtreecommitdiff
path: root/bin/ps/keyword.c
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-09-03 13:51:42 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-09-03 13:51:42 +0000
commit3a39e3634a4a696b7626c03d146dce51de363aa3 (patch)
tree3f099033fa6bdcbdc31b4330a0f32150d18da356 /bin/ps/keyword.c
parentc8f99376942801efe48f4616d120f80357c1a6c4 (diff)
add ps "emul" option
Diffstat (limited to 'bin/ps/keyword.c')
-rw-r--r--bin/ps/keyword.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/ps/keyword.c b/bin/ps/keyword.c
index b6445cfe031..485c776d65d 100644
--- a/bin/ps/keyword.c
+++ b/bin/ps/keyword.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: keyword.c,v 1.10 1997/08/22 20:08:14 kstailey Exp $ */
+/* $OpenBSD: keyword.c,v 1.11 1997/09/03 13:51:40 kstailey Exp $ */
/* $NetBSD: keyword.c,v 1.12.6.1 1996/05/30 21:25:13 cgd Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)keyword.c 8.5 (Berkeley) 4/2/94";
#else
-static char rcsid[] = "$OpenBSD: keyword.c,v 1.10 1997/08/22 20:08:14 kstailey Exp $";
+static char rcsid[] = "$OpenBSD: keyword.c,v 1.11 1997/09/03 13:51:40 kstailey Exp $";
#endif
#endif /* not lint */
@@ -102,6 +102,7 @@ VAR var[] = {
{"command", "COMMAND", NULL, COMM|LJUST|USER, command, 16},
{"cpu", "CPU", NULL, 0, pvar, 3, 0, POFF(p_estcpu), UINT, "d"},
{"cputime", "", "time"},
+ {"emul", "EMUL", NULL, LJUST, emulname, EMULNAMELEN},
{"etime", "", "start"},
{"f", "F", NULL, 0, pvar, 7, 0, POFF(p_flag), INT, "x"},
{"flags", "", "f"},