ChinaUnix.net
相关文章推荐:

clocktooutput time

计时器 睡眠函数 unsigned int sleep(unsigned int seconds); 例: #include XXXX int main() { time_t dt; time(&dt); printf("%s begin at:%s\n",__FILE__,ctime(&dt)); puts("sleep for 5 seconds...."); sleep(5); time(&dt); printf("%s end at:%s\n",__FILE__,ctime(&dt)); return 0; } 管道 创建管道 int pipe(int fd[2]); fd[0]用于读 fd[1]用于写 例: int z; int fd[2]; if((z==pipe(&fd[0])))==-1) { perror("pipe"); exi...

by creatory - AIX文档中心 - 2008-03-31 20:28:06 阅读(1133) 回复(0)

相关讨论

请问各位老大: # define _SIGXCPU 33 /* CPU time limit exceeded (setrlimit) */ 是什么意思?起什么作用?

by studio99 - HP-UX - 2003-12-23 13:28:55 阅读(1092) 回复(0)

[root@]# (time {(ls)}) 1 12 15 19 20 222.c 4 7 LPSOB a core.25070 test.bash xac 10 1212 16 1_ddddd_32321321_321312321_321321321.txt 21 23 4.sh 9 LPSOC awk.bash d tmp.yujx xad 11 13 17 1aa 212 24 5 LPSOA LPSOC.UC b html ...

by wtuter - Shell - 2009-04-15 20:31:37 阅读(1187) 回复(1)

1. 同步网络时间 # rdate -n time.cn99.com Fri Jun 29 14:58:30 CST 2007 2. 修改时区设置 #ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/28922/showart_330989.html

by atyu30 - BSD文档中心 - 2007-06-29 15:02:29 阅读(1038) 回复(0)