xref: /openbsd-src/usr.bin/top/utils.h (revision b2ea75c1b17e1a9a339660e7ed45cd24946b230e)
1 /*	$OpenBSD: utils.h,v 1.3 1998/09/20 06:19:14 niklas Exp $	*/
2 
3 /*
4  *  Top users/processes display for Unix
5  *  Version 3
6  *
7  *  This program may be freely redistributed,
8  *  but this entire comment MUST remain intact.
9  *
10  *  Copyright (c) 1984, 1989, William LeFebvre, Rice University
11  *  Copyright (c) 1989, 1990, 1992, William LeFebvre, Northwestern University
12  */
13 
14 /* prototypes for functions found in utils.c */
15 
16 int atoiwi __P((char *));
17 char *itoa __P((int));
18 char *itoa7 __P((int));
19 int digits __P((int));
20 char *strecpy __P((char *, char *));
21 int string_index __P((char *, char **));
22 char **argparse __P((char *, int *));
23 int percentages __P((int, int *, long *, long *, long *));
24 char *format_time __P((time_t));
25 char *format_k __P((int));
26