您的位置:首页 > 编程语言

unix编程基础知识

2013-10-27 15:10 253 查看

1.EINTR

linux中函数的返回状态,在不同的函数中意义不同

write

表示:由于信号中断,没写成功任何数据。

The call was interrupted by a signal before any data was written.

3read

表示:由于信号中断,没读到任何数据。

The call was interrupted by a signal before any data was read.

4sem_wait

函数调用被信号处理函数中断

The call was interrupted by a signal handler.

5recv

由于信号中断返回,没有任何数据可用。

function was interrupted by a signal that was caught, before any data was available.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: