![]() ![]() | ![]() |
version 1.15, 2002/02/16 21:27:54 | version 1.16, 2002/06/18 00:46:48 | ||
---|---|---|---|
|
|
||
static struct swapent *swap_devices; | static struct swapent *swap_devices; | ||
WINDOW * | WINDOW * | ||
openswap() | openswap(void) | ||
{ | { | ||
return (subwin(stdscr, LINES-5-1, 0, 5, 0)); | return (subwin(stdscr, LINES-5-1, 0, 5, 0)); | ||
} | } | ||
void | void | ||
closeswap(w) | closeswap(WINDOW *w) | ||
WINDOW *w; | |||
{ | { | ||
if (w == NULL) | if (w == NULL) | ||
return; | return; | ||
|
|
||
/* do nothing */ | /* do nothing */ | ||
int | int | ||
initswap() | initswap(void) | ||
{ | { | ||
return (1); | return (1); | ||
} | } | ||
void | void | ||
fetchswap() | fetchswap(void) | ||
{ | { | ||
int update_label = 0; | int update_label = 0; | ||
|
|
||
} | } | ||
void | void | ||
labelswap() | labelswap(void) | ||
{ | { | ||
char *header; | char *header; | ||
int row; | int row; | ||
|
|
||
} | } | ||
void | void | ||
showswap() { | showswap(void) | ||
{ | |||
int col, div, i, j, avail, used, xsize, free; | int col, div, i, j, avail, used, xsize, free; | ||
struct swapent *sep; | struct swapent *sep; | ||
char *p; | char *p; |