Rev 8149 | Rev 8900 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8149 | Rev 8864 | ||
---|---|---|---|
Line 47... | Line 47... | ||
47 | 47 | ||
48 | void check_parm(char *p); |
48 | void check_parm(char *p); |
49 | void output(char *p); |
49 | void output(char *p); |
50 | void about(void); |
50 | void about(void); |
51 | char *dynsetup(char *p, char *end); |
51 | char *dynsetup(char *p, char *end); |
52 | - | ||
53 | /* strip trailing spaces; return string end. */ |
- | |
54 | char *strip_trailing_spaces2(char *p) |
- | |
55 | { |
- | |
56 | char *pp; |
- | |
57 | if(*p==0) return p; |
- | |
58 | for(pp=p+strlen(p)-1; pp>=p && isspace(*pp); *(pp--)=0); |
- | |
59 | return pp; |
- | |
60 | } |
- | |
61 | - | ||
62 | 52 | ||
63 | /* Find first occurrence of word */ |
53 | /* Find first occurrence of word */ |
64 | char *wordchr2(char *p, char *w) |
54 | char *wordchr2(char *p, char *w) |
65 | { |
55 | { |
66 | char *r; |
56 | char *r; |