summaryrefslogtreecommitdiffstats
path: root/bin/ps/extern.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-10-21 07:30:26 +0000
committerpeter <peter@FreeBSD.org>1996-10-21 07:30:26 +0000
commit8fd01a136e847689c60d19cd8d439b37c9a7b5a9 (patch)
tree6da5843225e613b5eb4f4456c650f4b7576cd2de /bin/ps/extern.h
parent0392fde42645c8d1db15c97f3b45d1faa9f96b1c (diff)
downloadFreeBSD-src-8fd01a136e847689c60d19cd8d439b37c9a7b5a9.zip
FreeBSD-src-8fd01a136e847689c60d19cd8d439b37c9a7b5a9.tar.gz
Implement a -c option to ps to display the short command name instead of
the full argument vector. I've bumped into a few things that expected this switch to be present, the most recent was the snmp package in ports. I'm not 100% sure of the origins of this, but Linux has it, so does the "BSD-compatable" version of ps on our SVR4 systems (so I assume SunOS has it too).
Diffstat (limited to 'bin/ps/extern.h')
-rw-r--r--bin/ps/extern.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ps/extern.h b/bin/ps/extern.h
index 173ddf3..0dbda2f 100644
--- a/bin/ps/extern.h
+++ b/bin/ps/extern.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)extern.h 8.3 (Berkeley) 4/2/94
- * $Id$
+ * $Id: extern.h,v 1.2 1994/09/24 02:56:42 davidg Exp $
*/
struct kinfo;
@@ -40,7 +40,7 @@ struct var;
struct varent;
extern fixpt_t ccpu;
-extern int eval, fscale, mempages, nlistread, rawcpu;
+extern int eval, fscale, mempages, nlistread, rawcpu, cflag;
extern int sumrusage, termwidth, totwidth;
extern VAR var[];
extern VARENT *vhead;
OpenPOWER on IntegriCloud