char infile[80], username[40], mail_file[40], current_user[40], tmpstr[40];
/* snip of some intervening code that doesn't pertain to this example
... blah, blah, blah ... mumble mumble mumble ...
*/
strcpy(current_user, getenv("LOGNAME"));
Previous slide | Next slide | Back to first slide | View graphic version |