1997-03-23 18:51:21 +00:00
|
|
|
/*
|
top(1): Quiesce several warnings
This is all warnings at level six (6) that are not
char-subscripts, incompatible-pointer-types,
sign-compare, switch, int-conversion,
missing-variable-declarations, cast-qual, cast-align
Some warnings that are fixed by this commit are:
shadow, strict-prototypes, missing-prototypes, pointer-arith,
unused-parameter, unused-const-variable, and several others
2018-05-20 02:14:27 +00:00
|
|
|
* $FreeBSD$
|
|
|
|
*
|
1997-03-23 18:51:21 +00:00
|
|
|
* Top users/processes display for Unix
|
|
|
|
*
|
|
|
|
* This program may be freely redistributed,
|
|
|
|
* but this entire comment MUST remain intact.
|
|
|
|
*
|
|
|
|
* Copyright (c) 1984, 1989, William LeFebvre, Rice University
|
|
|
|
* Copyright (c) 1989, 1990, 1992, William LeFebvre, Northwestern University
|
|
|
|
*/
|
|
|
|
|
2018-06-02 15:52:18 +00:00
|
|
|
#include <unistd.h>
|
|
|
|
|
2018-06-02 04:37:37 +00:00
|
|
|
int atoiwi(const char *);
|
2018-06-02 03:54:50 +00:00
|
|
|
char *itoa(unsigned int);
|
2018-06-03 05:20:11 +00:00
|
|
|
char *itoa7(int);
|
top(1): Quiesce several warnings
This is all warnings at level six (6) that are not
char-subscripts, incompatible-pointer-types,
sign-compare, switch, int-conversion,
missing-variable-declarations, cast-qual, cast-align
Some warnings that are fixed by this commit are:
shadow, strict-prototypes, missing-prototypes, pointer-arith,
unused-parameter, unused-const-variable, and several others
2018-05-20 02:14:27 +00:00
|
|
|
int digits(int);
|
2019-02-10 13:31:08 +00:00
|
|
|
const char **argparse(char *, int *);
|
top(1): Quiesce several warnings
This is all warnings at level six (6) that are not
char-subscripts, incompatible-pointer-types,
sign-compare, switch, int-conversion,
missing-variable-declarations, cast-qual, cast-align
Some warnings that are fixed by this commit are:
shadow, strict-prototypes, missing-prototypes, pointer-arith,
unused-parameter, unused-const-variable, and several others
2018-05-20 02:14:27 +00:00
|
|
|
long percentages(int, int *, long *, long *, long *);
|
2018-06-13 08:52:09 +00:00
|
|
|
const char *format_time(long);
|
|
|
|
char *format_k(int64_t);
|
2018-06-03 23:40:54 +00:00
|
|
|
int string_index(const char *string, const char * const *array);
|
2018-06-02 15:52:18 +00:00
|
|
|
int find_pid(pid_t pid);
|
2016-05-22 04:17:00 +00:00
|
|
|
|