if (fp == NULL) return(errno);
snprintf(fromline, sizeof fromline, "From: someone@somewhere.org");
while (fgets(buf, 1024, stdin) != NULL) {
if (fp == NULL) return(errno);
snprintf(fromline, sizeof fromline, "From: someone@somewhere.org");
while (fgets(buf, 1024, stdin) != NULL) {