diff options
Diffstat (limited to 'usr.bin/top/utils.h')
-rw-r--r-- | usr.bin/top/utils.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/usr.bin/top/utils.h b/usr.bin/top/utils.h new file mode 100644 index 000000000000..bbc63803b6e1 --- /dev/null +++ b/usr.bin/top/utils.h @@ -0,0 +1,23 @@ +/* + * + * 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 + */ + +#include <unistd.h> + +int atoiwi(const char *); +char *itoa(unsigned int); +char *itoa7(int); +int digits(int); +const char **argparse(char *, int *); +long percentages(int, int *, long *, long *, long *); +const char *format_time(long); +char *format_k(int64_t); +int find_pid(pid_t pid); + |