HomeSort by: relevance | last modified time | path
    Searched defs:state_fd (Results 1 - 1 of 1) sorted by relevancy

  /xsrc/external/bsd/libuuid_ul/dist/
gen_uuid.c 195 THREAD_LOCAL int state_fd = -2; local
204 if (state_fd == -1)
207 if (state_fd == -2) {
209 state_fd = open(LIBUUID_CLOCK_FILE, O_RDWR|O_CREAT|O_CLOEXEC, 0660);
211 if (state_fd != -1) {
212 state_f = fdopen(state_fd, "r+" UL_CLOEXECSTR);
214 close(state_fd);
215 state_fd = -1;
222 if (state_fd >= 0) {
224 while (flock(state_fd, LOCK_EX) < 0)
    [all...]

Completed in 7 milliseconds