/* Copyright (c) 1979 Regents of the University of California */
struct passwd
*getpwuid();
register struct passwd
*pp
;
if (chdir("/usr/spool/mail") < 0)
fprintf(stderr
, "Who are you?\n");
if (freopen(pp
->pw_name
, "r", stdin
) == NULL
)
while(fgets(lbuf
, sizeof lbuf
, stdin
) != NULL
)
if (lbuf
[0] == 'F' && lbuf
[1] == 'r' && lbuf
[2] == 'o' && lbuf
[3] == 'm')