发布时间:2013-04-26 12:20:26
** ------------------------------------------------------------ ** ** * Enhanced version of write2.c * * This version accepts a username on the command line * then searches the utmp file for the first line on which * that user is found. This program skips the line for the * calling pro.........【阅读全文】
发布时间:2013-04-26 11:31:05
#include#include#include/* * write1.c * *purpose: send messages to another terminal * method: open the other terminal for output then * copy from stdin to that terminal * usage: write1 username */main( int ac, char *av[] ){intfd;charbuf[BU.........【阅读全文】