annotate src/lib/execv-const.h @ 22664:fea53c2725c0

director: Fix director_max_parallel_moves/kicks type Should be uint, not time.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Thu, 09 Nov 2017 12:24:16 +0200
parents ddbc6e8b2776
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10995
ddbc6e8b2776 Added execv_const() and execvp_const() helper functions.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
1 #ifndef EXECV_CONST_H
ddbc6e8b2776 Added execv_const() and execvp_const() helper functions.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
2 #define EXECV_CONST_H
ddbc6e8b2776 Added execv_const() and execvp_const() helper functions.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
3
ddbc6e8b2776 Added execv_const() and execvp_const() helper functions.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
4 /* Just like execv() and execvp(), except argv points to const strings.
ddbc6e8b2776 Added execv_const() and execvp_const() helper functions.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
5 Also if calling execv*() fails, these functions call i_fatal(). */
ddbc6e8b2776 Added execv_const() and execvp_const() helper functions.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
6 void execv_const(const char *path, const char *const argv[]) ATTR_NORETURN;
ddbc6e8b2776 Added execv_const() and execvp_const() helper functions.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
7 void execvp_const(const char *file, const char *const argv[]) ATTR_NORETURN;
ddbc6e8b2776 Added execv_const() and execvp_const() helper functions.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
8
ddbc6e8b2776 Added execv_const() and execvp_const() helper functions.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
9 #endif