sleep函数 sleep函数 2017年3月6日 skiron Comments 0 Comment 我们已经在例子中使用了很多次sleep函数,并在Figures10.7和10.8中显示了两个缺陷。 #include <unistd.h> unsi… Read More Read More
system函数 system函数 2017年3月6日 skiron Comments 0 Comment 在APUE8.13节,我们显示了一个system函数的实现。那个版本中并不处理任何信号。POSIX.1要求system忽略SIGINT和SIGQUIT并且阻塞S… Read More Read More
abort函数 abort函数 2017年3月1日 skiron Comments 0 Comment 我们注意到之前使用的abort函数会导至程序非正常终止。 #include <stdlib.h> void abort(void); This fu… Read More Read More