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