mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
- style(9) - remove now-defunct comments - remove getuid check for low delay - expand range of format_k
26 lines
689 B
C
26 lines
689 B
C
/*
|
|
* $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
|
|
*/
|
|
|
|
#include <unistd.h>
|
|
|
|
int atoiwi(const char *);
|
|
char *itoa(unsigned int);
|
|
char *itoa7(int);
|
|
int digits(int);
|
|
const char * const *argparse(char *, int *);
|
|
long percentages(int, int *, long *, long *, long *);
|
|
char *format_time(long);
|
|
char *format_k(long);
|
|
char *format_k2(unsigned long long);
|
|
int string_index(const char *string, const char * const *array);
|
|
int find_pid(pid_t pid);
|
|
|