view src/lib/execv-const.h @ 22716:6287c6d66f56

dsync: Add debug logging for .dovecot-sync.lock locking/unlocking
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Thu, 28 Dec 2017 10:27:27 +0200
parents ddbc6e8b2776
children
line wrap: on
line source

#ifndef EXECV_CONST_H
#define EXECV_CONST_H

/* Just like execv() and execvp(), except argv points to const strings.
   Also if calling execv*() fails, these functions call i_fatal(). */
void execv_const(const char *path, const char *const argv[]) ATTR_NORETURN;
void execvp_const(const char *file, const char *const argv[]) ATTR_NORETURN;

#endif