HomeSort by relevance Sort by last modified time
    Searched refs:save_fd (Results 1 - 2 of 2) sorted by null

  /external/tlsdate/src/
tlsdate-setter.c 78 int save_fd = -1; local
85 if ( (save_fd = open (state->timestamp_path,
88 fchmod (save_fd, perms) != 0)
164 if (save && save_fd != -1 &&
165 save_timestamp_to_fd (save_fd, tv.tv_sec))
179 close (save_fd);
  /toolchain/binutils/binutils-2.25/libiberty/
pex-unix.c 453 /* Subroutine of pex_unix_exec_child. Move SAVE_FD back to OLD_FD
454 restoring FLAGS. If SAVE_FD < 0, OLD_FD is to be closed. */
457 restore_fd(int old_fd, int save_fd, int flags)
459 /* For SAVE_FD < 0, all we have to do is restore the
461 if (save_fd < 0)
464 /* For SAVE_FD == OLD_FD, all we have to do is restore the
466 if (save_fd == old_fd)
478 if (dup3 (save_fd, old_fd, O_CLOEXEC) < 0)
484 if (dup2 (save_fd, old_fd) < 0)
489 return close (save_fd);
    [all...]

Completed in 364 milliseconds