summaryrefslogtreecommitdiffstats
path: root/bin/ps/extern.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2011-03-17 11:25:32 +0000
committerkib <kib@FreeBSD.org>2011-03-17 11:25:32 +0000
commit425e556ac9cfcee7074d9eae8e246690de567ea7 (patch)
treed85b94710406af532df69f8fe797bc215a6ec248 /bin/ps/extern.h
parent329130799d270217d976d559253a838c169cd221 (diff)
downloadFreeBSD-src-425e556ac9cfcee7074d9eae8e246690de567ea7.zip
FreeBSD-src-425e556ac9cfcee7074d9eae8e246690de567ea7.tar.gz
Implement the usertime and systime keywords for ps, printing the
corresponding times reported by getrusage(). Submitted by: Dan Nelson <dnelson allantgroup com> MFC after: 1 week
Diffstat (limited to 'bin/ps/extern.h')
-rw-r--r--bin/ps/extern.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/ps/extern.h b/bin/ps/extern.h
index faeeb19..eb1ede6 100644
--- a/bin/ps/extern.h
+++ b/bin/ps/extern.h
@@ -81,12 +81,14 @@ int s_uname(KINFO *);
void showkey(void);
void started(KINFO *, VARENT *);
void state(KINFO *, VARENT *);
+void systime(KINFO *, VARENT *);
void tdev(KINFO *, VARENT *);
void tdnam(KINFO *, VARENT *);
void tname(KINFO *, VARENT *);
void ucomm(KINFO *, VARENT *);
void uname(KINFO *, VARENT *);
void upr(KINFO *, VARENT *);
+void usertime(KINFO *, VARENT *);
void vsize(KINFO *, VARENT *);
void wchan(KINFO *, VARENT *);
__END_DECLS
OpenPOWER on IntegriCloud