2009年8月31日
摘要: #include<stdio.h>#include<utmp.h>#include<fcntl.h>#include<unistd.h>登录用户的信息存储在/var/run/utmp下void perror(const char *s);打印出错的信息1 输出字符串的格式控制printf("%Ns",str) //输出指定长度的字符串,超长时不截断,... 阅读全文
posted @ 2009-08-31 20:34 清水湾 阅读(298) 评论(0) 推荐(0)