view src/lib/fd-close-on-exec.h @ 22664:fea53c2725c0

director: Fix director_max_parallel_moves/kicks type Should be uint, not time.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Thu, 09 Nov 2017 12:24:16 +0200
parents e4eb71ae8e96
children
line wrap: on
line source

#ifndef FD_CLOSE_ON_EXEC_H
#define FD_CLOSE_ON_EXEC_H

/* Change close-on-exec flag of fd. */
void fd_close_on_exec(int fd, bool set);

/* Verify that fds in given range don't exist. */
void fd_debug_verify_leaks(int first_fd, int last_fd);

#endif