aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/top/utils.h
blob: d04645dd8a170b11efdfca671f689c5eae368fa5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * $FreeBSD$
 *
 *  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
 */

int atoiwi(char *);
char *itoa(unsigned int);
char *itoa7(unsigned int);
int digits(int);
char *strecpy(char *, char *);
char **argparse(char *, int *);
long percentages(int, int *, long *, long *, long *);
char *format_time(long);
char *format_k(int);
char *format_k2(unsigned long long);
int string_index(char *string, char **array);