aboutsummaryrefslogblamecommitdiffstats
path: root/libexec_open.c
blob: 7aa2698cd50c272129062da7fb966b529ad2b8c7 (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_open(struct libexec_command *cmd, int fd, const char *file, int flags, mode_t mode)
{
	return libexec_openat(cmd, fd, AT_FDCWD, file, flags, mode);
}


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