Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
EAGAIN
Edit
PageHistory
Diff
Info
LikePages
!!!Try Again It is very common to get this error when your application is doing non-blocking operations on files or network sockets. For example, you can open a file/socket/fifo for reading with the O_NONBLOCK flag. If you subsequently do a read(2) call and there is no data waiting, instead of blocking and waiting until there is data ready and returning that data, the read() call will return an error (EAGAIN) to let your application know that there is no data ready and to try again later. Another example is if a system call failed due to insufficient resources (such as virtual memory), but it might succeed if called again. (eg fork(2) does this).
28 pages link to
EAGAIN
:
vfork(2)
ftruncate(2)
EWOULDBLOCK
connect(2)
fcntl(2)
mincore(2)
execve(2)
mlock(2)
clone(2)
ENOBUFS
madvise(2)
mmap(2)
mlockall(2)
mremap(2)
msgop(2)
munmap(2)
read(2)
readv(2)
recvfrom(2)
recvmsg(2)
writev(2)
fork(2)
accept(2)
sendmsg(2)
ENODATA
mprotect(2)
recv(2)
send(2)