version 1.10, 2001/12/07 09:18:08 |
version 1.11, 2002/06/18 00:46:47 |
|
|
#include "extern.h" |
#include "extern.h" |
|
|
void |
void |
command(cmd) |
command(char *cmd) |
char *cmd; |
|
{ |
{ |
struct cmdtab *p; |
struct cmdtab *p; |
char *cp; |
char *cp; |
|
|
} |
} |
|
|
struct cmdtab * |
struct cmdtab * |
lookup(name) |
lookup(char *name) |
char *name; |
|
{ |
{ |
char *p, *q; |
char *p, *q; |
struct cmdtab *c, *found; |
struct cmdtab *c, *found; |
|
|
} |
} |
|
|
void |
void |
status() |
status(void) |
{ |
{ |
|
|
error("Showing %s, refresh every %d seconds.", |
error("Showing %s, refresh every %d seconds.", |
|
|
} |
} |
|
|
int |
int |
prefix(s1, s2) |
prefix(char *s1, char *s2) |
char *s1, *s2; |
|
{ |
{ |
|
|
while (*s1 == *s2) { |
while (*s1 == *s2) { |