Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dcom_android_internal_os_ZygoteInit.cpp137 int fdFlags; in com_android_internal_os_ZygoteInit_setCloseOnExec() local
145 fdFlags = fcntl(fd, F_GETFD); in com_android_internal_os_ZygoteInit_setCloseOnExec()
147 if (fdFlags < 0) { in com_android_internal_os_ZygoteInit_setCloseOnExec()
153 fdFlags |= FD_CLOEXEC; in com_android_internal_os_ZygoteInit_setCloseOnExec()
155 fdFlags &= ~FD_CLOEXEC; in com_android_internal_os_ZygoteInit_setCloseOnExec()
158 err = fcntl(fd, F_SETFD, fdFlags); in com_android_internal_os_ZygoteInit_setCloseOnExec()