struct kinfo;
struct nlist;
struct var;
struct varent;
extern int eval, fscale, mempages, nlistread, rawcpu, cflag, showtid;
extern int sumrusage, termwidth, totwidth;
extern int numcpus;
extern STAILQ_HEAD(varent_head, varent) var_head;
extern struct timeval btime;
__BEGIN_DECLS
void command(const KINFO *, const struct varent *);
void cputime(const KINFO *, const struct varent *);
int donlist(void);
void evar(const KINFO *, const struct varent *);
const char *fmt_argv(char **, char *, int);
double getpcpu(const KINFO *);
double getpmem(const KINFO *);
void logname(const KINFO *, const struct varent *);
void longtname(const KINFO *, const struct varent *);
void lstarted(const KINFO *, const struct varent *);
void maxrss(const KINFO *, const struct varent *);
void nlisterr(struct nlist *);
void p_rssize(const KINFO *, const struct varent *);
void pagein(const KINFO *, const struct varent *);
void parsefmt(const char *);
void insert_tid_in_fmt(void);
void pcpu(const KINFO *, const struct varent *);
void pnice(const KINFO *, const struct varent *);
void pmem(const KINFO *, const struct varent *);
void pri(const KINFO *, const struct varent *);
void tdpri(const KINFO *, const struct varent *);
void rtprior(const KINFO *, const struct varent *);
void printheader(void);
void pvar(const KINFO *, const struct varent *);
void lpvar(const KINFO *, const struct varent *);
void lpest(const KINFO *, const struct varent *);
void tvar(const KINFO *, const struct varent *);
void rssize(const KINFO *, const struct varent *);
void runame(const KINFO *, const struct varent *);
int s_runame(const KINFO *);
void rvar(const KINFO *, const struct varent *);
void showkey(void);
void started(const KINFO *, const struct varent *);
void state(const KINFO *, const struct varent *);
void tdev(const KINFO *, const struct varent *);
void tname(const KINFO *, const struct varent *);
void tsize(const KINFO *, const struct varent *);
void ucomm(const KINFO *, const struct varent *);
void uname(const KINFO *, const struct varent *);
int s_uname(const KINFO *);
void vsize(const KINFO *, const struct varent *);
void wchan(const KINFO *, const struct varent *);
__END_DECLS