libmawk_append_input − append a string to an input buffer
#include <libmawk.h>
void libmawk_append_input(mawk_state_t *m, const char *input);
The libmawk_append_input() function allows the application to fill the input buffer of a libmawk context. No record separator is appended, only the bytes donated by the zero terminated string input, thus it is possible to append partial records. Appending to the input doesn’t have the side effect of any script being run. There may be multiple libmawk_append_input() calls before a call to libmawk_run_main(). The latter all is used to let the script process the input buffer.
Argument m is a libmawk context previously returned by libmawk_initialize() or libmawk_initialize_stage3().
libmawk_initialize_stage(3libmawk), libmawk_initialize(3libmawk), libmawk_run_main(3libmawk).