1999-04-12 10:02:25 +04:00
|
|
|
/* $NetBSD: utils.h,v 1.3 1999/04/12 06:02:26 ross Exp $ */
|
|
|
|
|
1999-02-15 02:54:06 +03:00
|
|
|
/*
|
|
|
|
* Top users/processes display for Unix
|
|
|
|
* Version 3
|
|
|
|
*
|
|
|
|
* 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
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* prototypes for functions found in utils.c */
|
|
|
|
|
1999-03-24 14:57:08 +03:00
|
|
|
int atoiwi __P((char *));
|
|
|
|
char *itoa __P((int));
|
|
|
|
char *itoa7 __P((int));
|
|
|
|
int digits __P((int));
|
|
|
|
char *strecpy __P((char *, char *));
|
|
|
|
int string_index __P((char *, char **));
|
|
|
|
char **argparse __P((char *, int *));
|
|
|
|
long percentages __P((int, int *, long *, long *, long *));
|
|
|
|
char *errmsg __P((int));
|
|
|
|
char *format_time __P((long));
|
|
|
|
char *format_k __P((int));
|