/* first8orLess.c */ /* Modified Recyclable Object << 'firstwd()'. */ #include <ctype.h> extern char *first8orLess (char *to, char *from) { int i=0; while (isspace(*from) && *from!='\0') ++from; while (!isspace(*from) && *from!='\0' && *from!='.' && i<8 ){ *to++ = *from++; i++; } *to = '\0'; return (from); }