view src/lib/execv-const.h @ 22656:1789bf2a1e01

director: Make sure HOST-RESET-USERS isn't used with max_moving_users=0 The reset command would just hang in that case. doveadm would never have sent this, so this is just an extra sanity check.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Sun, 05 Nov 2017 23:51:56 +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