summaryrefslogtreecommitdiffstats
path: root/src/lib/execv-const.h
blob: f112ceca06735631cfadf51f57fb48f66da27416 (plain)
1
2
3
4
5
6
7
8
9
#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