MAXHOSTLEN
char host[MAXHOSTLEN + 1];
(void) strlcpy(host, cp + 1, MAXHOSTLEN + 1);
(void) strlcpy(host, input, MAXHOSTLEN + 1);