view src/lib/execv-const.h @ 22636:96e51a11c0aa

lib: Implement t_strsplit_tabescaped_inplace() This is a more efficient version of t_strsplit_tabescaped(), which modifies the input string instead of duplicating it.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Sat, 04 Nov 2017 01:39:38 +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