K&R(2nd) section 6.5 has two functions.
int main(void) { struct tnode *root; char word[MAXWORD]; root = NULL; while (getword(word, MAXWORD) != EO