/* top of file */ #include <unistd.h> /* ..... some of your code here down to line 101 */ strcpy(user , getlogin() );