aboutsummaryrefslogtreecommitdiffstats
path: root/libexec_run.c
blob: ca1f6295d493c5470ab8042b45b88e66aaf5d5d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* See LICENSE file for copyright and license details. */
#include "common.h"
#ifndef TEST


int
libexec_run(struct libexec_result *out, ...)
{
	int ret;
	va_list args;
	va_start(args, out);
	ret = libexec_vrun(out, args);
	va_end(args);
	return ret;
}


#else
LIBEXEC_CONST__ int main(void) {return 0;} /* TODO test */
#endif