Lines Matching refs:from
16 * may be used to endorse or promote products derived from this software
78 const char *from;
85 from = NULL;
92 if (from)
94 from = optarg;
110 * If from not specified, use the name from getlogin() if the
111 * uid matches, otherwise, use the name from the password file
115 if (!from && (!(from = getlogin()) ||
116 !(pw = getpwnam(from)) || pw->pw_uid != uid))
117 from = (pw = getpwuid(uid)) ? pw->pw_name : "???";
119 fd = store(from);
131 store(const char *from)
147 (void)fprintf(fp, "From %s %s", from, ctime(&tval));
309 logerr(EX_USAGE, "usage: mail.local [-l] [-f from] user ...");