1LIBMAWK_RUN_MAIN(3libmawk)      libmawk manual      LIBMAWK_RUN_MAIN(3libmawk)
2
3
4

NAME

6       libmawk_run_main - run main parts of a script
7

SYNOPSIS

9       #include <libmawk.h>
10
11       void libmawk_run_main(mawk_state_t *m);
12
13

DESCRIPTION

15       The libmawk_run_main() attempts to take and parse the next input record
16       and runs all main parts of the script that matches. If there are multi‐
17       ple  full  records  in  the input buffer, the process repeats until the
18       buffer becomes empty or contains a partial record. If there is no  full
19       record  in  the  buffer,  the  call returns with nothing done. The call
20       itself never blocks, but the script may. The input buffer may be filled
21       using the libmawk_append_input() call.
22
23       Argument m is a libmawk context previously returned by libmawk_initial‐
24       ize() or libmawk_initialize_stage3().
25

SEE ALSO

27       libmawk_initialize_stage(3libmawk), libmawk_initialize(3libmawk),  lib‐
28       mawk_append_input(3libmawk),
29
30
31
32libmawk                           2009-08-10        LIBMAWK_RUN_MAIN(3libmawk)
Impressum