1 /*- 2 * Copyright (c) 1991 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)extern.h 5.3 (Berkeley) 06/05/92 8 */ 9 10 struct kinfo; 11 struct nlist; 12 struct var; 13 struct varent; 14 15 extern VAR var[]; 16 extern VARENT *vhead; 17 18 __BEGIN_DECLS 19 void command __P((KINFO *, VARENT *)); 20 void cputime __P((KINFO *, VARENT *)); 21 char *devname __P((dev_t, mode_t)); 22 int donlist __P((void)); 23 void err __P((const char *, ...)); 24 void evar __P((KINFO *, VARENT *)); 25 char *fmt_argv __P((char **, char *, int)); 26 double getpcpu __P((KINFO *)); 27 double getpmem __P((KINFO *)); 28 void logname __P((KINFO *, VARENT *)); 29 void longtname __P((KINFO *, VARENT *)); 30 void lstarted __P((KINFO *, VARENT *)); 31 void maxrss __P((KINFO *, VARENT *)); 32 void nlisterr __P((struct nlist *)); 33 void p_rssize __P((KINFO *, VARENT *)); 34 void pagein __P((KINFO *, VARENT *)); 35 void parsefmt __P((char *)); 36 void pcpu __P((KINFO *, VARENT *)); 37 void pmem __P((KINFO *, VARENT *)); 38 void pri __P((KINFO *, VARENT *)); 39 void printheader __P((void)); 40 void pvar __P((KINFO *, VARENT *)); 41 void rssize __P((KINFO *, VARENT *)); 42 void runame __P((KINFO *, VARENT *)); 43 void rvar __P((KINFO *, VARENT *)); 44 void showkey __P((void)); 45 void started __P((KINFO *, VARENT *)); 46 void state __P((KINFO *, VARENT *)); 47 void tdev __P((KINFO *, VARENT *)); 48 void tname __P((KINFO *, VARENT *)); 49 #ifndef NEWVM 50 void trss __P((KINFO *, VARENT *)); 51 #endif 52 void tsize __P((KINFO *, VARENT *)); 53 void ucomm __P((KINFO *, VARENT *)); 54 void uname __P((KINFO *, VARENT *)); 55 void uvar __P((KINFO *, VARENT *)); 56 void vsize __P((KINFO *, VARENT *)); 57 void wchan __P((KINFO *, VARENT *)); 58 __END_DECLS 59