Checking if errno != EINTR: what does it mean?

前端 未结 3 1214
故里飘歌
故里飘歌 2020-12-09 03:39

I\'ve found this piece of code used several times (also a similar one where it\'s used open() instead of write()).

int c = write(fd         


        
3条回答
  •  生来不讨喜
    2020-12-09 04:17

    From the man page on write:

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

提交回复
热议问题