blob: 7aa2698cd50c272129062da7fb966b529ad2b8c7 (
plain) (
tree)
|
|
/* 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
|