xref: /original-bsd/bin/ps/extern.h (revision ce06cd54)
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.4 (Berkeley) 04/29/93
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	 evar __P((KINFO *, VARENT *));
24 char	*fmt_argv __P((char **, char *, int));
25 double	 getpcpu __P((KINFO *));
26 double	 getpmem __P((KINFO *));
27 void	 logname __P((KINFO *, VARENT *));
28 void	 longtname __P((KINFO *, VARENT *));
29 void	 lstarted __P((KINFO *, VARENT *));
30 void	 maxrss __P((KINFO *, VARENT *));
31 void	 nlisterr __P((struct nlist *));
32 void	 p_rssize __P((KINFO *, VARENT *));
33 void	 pagein __P((KINFO *, VARENT *));
34 void	 parsefmt __P((char *));
35 void	 pcpu __P((KINFO *, VARENT *));
36 void	 pmem __P((KINFO *, VARENT *));
37 void	 pri __P((KINFO *, VARENT *));
38 void	 printheader __P((void));
39 void	 pvar __P((KINFO *, VARENT *));
40 void	 rssize __P((KINFO *, VARENT *));
41 void	 runame __P((KINFO *, VARENT *));
42 void	 rvar __P((KINFO *, VARENT *));
43 void	 showkey __P((void));
44 void	 started __P((KINFO *, VARENT *));
45 void	 state __P((KINFO *, VARENT *));
46 void	 tdev __P((KINFO *, VARENT *));
47 void	 tname __P((KINFO *, VARENT *));
48 #ifndef NEWVM
49 void	 trss __P((KINFO *, VARENT *));
50 #endif
51 void	 tsize __P((KINFO *, VARENT *));
52 void	 ucomm __P((KINFO *, VARENT *));
53 void	 uname __P((KINFO *, VARENT *));
54 void	 uvar __P((KINFO *, VARENT *));
55 void	 vsize __P((KINFO *, VARENT *));
56 void	 wchan __P((KINFO *, VARENT *));
57 __END_DECLS
58