摘要:
/* who1.c - a first version of the who program * open,read UTMP file, and show results */#include<stdio.h>#include<utmp.h>#include<fcntl.h>#include<unistd.h>#include<stdlib.h>#define SHOWHOSTvoid show_info(struct utmp * utbufp);int main(){ struct utmp current_record; in 阅读全文
