/* firstwd.c */
/* Recyclable Object - this is Dr. Aota's 'firstwd()'.        */

#include <ctype.h>

extern char *firstwd (char *to, char *from)
{
   while (isspace(*from) && *from!='\0') ++from;
   while (!isspace(*from) && *from!='\0') *to++ = *from++;
   *to = '\0';
   return (from);
}