Searched refs:pid_fd (Results 1 – 2 of 2) sorted by relevance
49 zcp->pid_fd = -1; in zed_conf_create()98 if (zcp->pid_fd >= 0) { in zed_conf_destroy()99 if (close(zcp->pid_fd) < 0) in zed_conf_destroy()103 zcp->pid_fd = -1; in zed_conf_destroy()469 assert(zcp->pid_fd == -1); in zed_conf_write_pid()496 if (zcp->pid_fd < 0) { in zed_conf_write_pid()501 rv = zed_file_lock(zcp->pid_fd); in zed_conf_write_pid()534 } else if (fdatasync(zcp->pid_fd) < 0) { in zed_conf_write_pid()542 if (zcp->pid_fd >= 0) { in zed_conf_write_pid()543 (void) close(zcp->pid_fd); in zed_conf_write_pid()[all …]
34 int pid_fd; /* fd to pid file for lock */ member