/* See LICENSE file for copyright and license details. */ #include "common.h" #ifndef TEST int libexec_input_text_copy(struct libexec_command *cmd, int fd, const char *text) { if (!text) { errno = EINVAL; return -1; } return libexec_input_data_copy(cmd, fd, text, strlen(text)); } #else LIBEXEC_CONST__ int main(void) {return 0;} /* TODO test */ #endif