| 1790 | } |
| 1791 | |
| 1792 | staticfn int |
| 1793 | wordcount(char *p) |
| 1794 | { |
| 1795 | int words = 0; |
| 1796 | |
| 1797 | while (*p) { |
| 1798 | while (*p && isspace((uchar) *p)) |
| 1799 | p++; |
| 1800 | if (*p) |
| 1801 | words++; |
| 1802 | while (*p && !isspace((uchar) *p)) |
| 1803 | p++; |
| 1804 | } |
| 1805 | return words; |
| 1806 | } |
| 1807 | |
| 1808 | staticfn void |
| 1809 | bel_copy1(char **inp, char *out) |
no test coverage detected