/* See LICENSE file for copyright and license details. */
#include "common.h"
#ifndef TEST
int
libexec_pipe_commandsv(enum libexec_pipe how, struct libexec_command *const *cmds)
{
size_t n = 0;
if (!cmds) {
errno = EINVAL;
return -1;
}
while (cmds[n])
n++;
return libexec_pipe_commandsvn(how, cmds, n);
}
#else
LIBEXEC_CONST__ int main(void) {return 0;} /* TODO test */
#endif