mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
8d0d26767b
- Change headers to more closely match what we use - use more standard functions instead of bzero, bcmp, bcopy - Add myself to authors. Tested with: base clang (amd64), gcc 9 (amd64), base clang (i386), base gcc (mips)
43 lines
1.3 KiB
C
43 lines
1.3 KiB
C
/* $FreeBSD$ */
|
|
/* constants needed for display.c */
|
|
|
|
#define MT_standout 1
|
|
#define MT_delayed 2
|
|
|
|
#include <sys/time.h>
|
|
struct statics;
|
|
|
|
int display_updatecpus(struct statics *statics);
|
|
void clear_message(void);
|
|
int display_resize(void);
|
|
void i_header(const char *text);
|
|
char *printable(char *string);
|
|
void display_header(int t);
|
|
int display_init(struct statics *statics);
|
|
void i_arc(int *stats);
|
|
void i_carc(int *stats);
|
|
void i_cpustates(int *states);
|
|
void i_loadave(int mpid, double *avenrun);
|
|
void i_memory(int *stats);
|
|
void i_message(void);
|
|
void i_process(int line, char *thisline);
|
|
void i_procstates(int total, int *brkdn);
|
|
void i_swap(int *stats);
|
|
void i_timeofday(time_t *tod);
|
|
void i_uptime(struct timeval *bt, time_t *tod);
|
|
void new_message(int type, const char *msgfmt, ...);
|
|
int readline(char *buffer, int size, int numeric);
|
|
const char *trim_header(const char *text);
|
|
void u_arc(int *stats);
|
|
void u_carc(int *stats);
|
|
void u_cpustates(int *states);
|
|
void u_endscreen(int hi);
|
|
void u_header(const char *text);
|
|
void u_loadave(int mpid, double *avenrun);
|
|
void u_memory(int *stats);
|
|
void u_message(void);
|
|
void u_process(int line, char *newline);
|
|
void u_procstates(int total, int *brkdn);
|
|
void u_swap(int *stats);
|
|
void z_cpustates(void);
|