For example, if it failed to invoke msgsnd/msgrcv:
1. How to handle the errno – what is the best way?
2. What principle is applying to business product?
3. Shall I have to cover all of them?
4. What kinds of error must be handled? Do I have to write a signal handler for EINTR or something like this?
Here's my straw-man code:
RetVal = msgrcv(... );
if( RetVal == -1 )
以上就是Shall I have to handle all errno after Linux API or system call failed?的详细内容，更多请关注web前端其它相关文章！