A better solution is to use the select function. This blocks the program until input or output is ready on a specified set of file descriptors, or until a ...
確定! 回上一頁