view src/lib/fd-close-on-exec.h @ 22955:812e5c961328

fts: Indexing virtual mailbox didn't always index the last mails
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Thu, 03 May 2018 18:33:00 +0300
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