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