Searched refs:pidfd (Results 1 – 1 of 1) sorted by relevance
91 int pidfd, len; in write_pid_file() local100 pidfd = open(pidfile, O_CREAT | O_TRUNC | O_NOFOLLOW | O_WRONLY, 0644); in write_pid_file()101 if (pidfd < 0) { in write_pid_file()106 (void)write(pidfd, val, (unsigned int)len); in write_pid_file()107 close(pidfd); in write_pid_file()