freebsd-dev/usr.bin/top/utils.h
Daichi GOTO 4417ed2dbf top(1) - support UTF-8 display
Reviewed by:	eadler
Approved by:	gnn (mentor)
Differential Revision:	https://reviews.freebsd.org/D16006
2018-07-01 05:32:03 +00:00

27 lines
708 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 *);
const char *format_time(long);
char *format_k(int64_t);
int string_index(const char *string, const char * const *array);
int find_pid(pid_t pid);
int utf8strvisx(char *, const char *, size_t);