What system calls can return EINTR or EAGAIN error codes?

Which of the following system calls can EINTR or EAGAIN / EWOULDBLOCK return?

getsockname()
chdir()
bind()
fcntl()
listen()
setsid()
setsockopt()
socket()
stat()
unlink()
access()
accept()
open()
usleep()
dup2()
fork()
waitpid()
wait()
read()
write()

Some of these system calls return EINTR or EAGAIN on error (man API).

There are also some system calls that the APIs do not reference EINTR / EAGAIN and return them.

Please, help.

-6
source share
1 answer

. . , , "", EINTR. / , (, , , ..).

0

All Articles