Home
last modified time | relevance | path

Searched refs:EINTR (Results 1 – 16 of 16) sorted by relevance

/bionic/docs/
DEINTR.md1 # EINTR chapter
18 errno to `EINTR`: "interrupted system call".
29 `EINTR`. And if you're an Android app, the zygote has already installed a whole
47 would hide those. For example, you might want to use signals and `EINTR`
58 system call as long as the result is -1 and errno is `EINTR`.
71 shouldn't close the file descriptor if it returns `EINTR`, but that's *not*
73 [Returning EINTR from close()](https://lwn.net/Articles/576478/)
91 fails with `EINTR`.
Dstatus.md187 * `sem_wait` now returns EINTR when interrupted by a signal.
359 compatibility, `sem_wait` can only return EINTR on Android if the app
/bionic/libc/bionic/
Dsemaphore.cpp225 if (result ==-EINTR) { in sem_wait()
226 errno = EINTR; in sem_wait()
263 if (result == -ETIMEDOUT || result == -EINTR) { in __sem_timedwait()
Dstrerror.cpp51 [EINTR] = "Interrupted system call",
Dfdsan.cpp385 if (rc == -1 && errno == EINTR) { in close()
Dsignal.cpp304 if (errno != EAGAIN && errno != EINTR) return errno; in sigwait64()
/bionic/libc/kernel/uapi/asm-generic/
Derrno-base.h24 #define EINTR 4 macro
/bionic/tests/headers/posix/
Derrno_h.c61 MACRO(EINTR); in errno_h()
/bionic/libc/upstream-netbsd/lib/libc/isc/
Dev_streams.c282 if (bytes < 0 && errno != EINTR) { in writable()
308 if (errno != EINTR) { in readable()
/bionic/libc/include/bits/
Dthreads_inlines.h180 return (errno == EINTR) ? -1 : -2; in thrd_sleep()
/bionic/tests/
Dsemaphore_test.cpp210 if (errno == EINTR) { in SemWaitEINTRThreadFn()
Dsignal_test.cpp202 ASSERT_EQ(EINTR, errno); in TEST()
244 ASSERT_EQ(EINTR, errno); in TEST()
892 ASSERT_EQ(EINTR, errno); in TestSigholdSigpauseSigrelse()
/bionic/libc/include/
Dunistd.h325 } while (_rc == -1 && errno == EINTR); \
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_system_tests.cpp138 if (actual == -EINTR) { in LogReader()
/bionic/libc/dns/resolv/
Dres_send.c1039 if (errno == EINTR) in retrying_poll()
/bionic/libc/dns/net/
Dgetaddrinfo.c1823 } while (ret == -1 && errno == EINTR); in _find_src_addr()