aboutsummaryrefslogblamecommitdiffstats
path: root/libexec_add_output_fd.c
blob: 6eae58032faadb701f9ab2166a1dad765a2ad148 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                     
/* See LICENSE file for copyright and license details. */
#include "common.h"
#ifndef TEST


int
libexec_add_output_fd(struct libexec_command *cmd, int fd, int wr_fd)
{
	return libexec_renumber_fd(cmd, fd, wr_fd);
}


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