Package list libmawk / 981c753b-c373-44cd-8865-7dcd5e2502ff/main doc / libmawk_run_main.3libmawk.html
981c753b-c373-44cd-8865-7dcd5e2502ff/main

Tree @981c753b-c373-44cd-8865-7dcd5e2502ff/main (Download .tar.gz)

libmawk_run_main.3libmawk.html @981c753b-c373-44cd-8865-7dcd5e2502ff/mainraw · history · blame

<!-- Creator     : groff version 1.22.2 -->
<!-- CreationDate: Sat Jun 14 14:27:32 2014 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="generator" content="groff -Thtml, see www.gnu.org">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<meta name="Content-Style" content="text/css">
<style type="text/css">
       p       { margin-top: 0; margin-bottom: 0; vertical-align: top }
       pre     { margin-top: 0; margin-bottom: 0; vertical-align: top }
       table   { margin-top: 0; margin-bottom: 0; vertical-align: top }
       h1      { text-align: center }
</style>
<title>LIBMAWK_RUN_MAIN</title>

</head>
<body>

<h1 align="center">LIBMAWK_RUN_MAIN</h1>

<a href="#NAME">NAME</a><br>
<a href="#SYNOPSIS">SYNOPSIS</a><br>
<a href="#DESCRIPTION">DESCRIPTION</a><br>
<a href="#SEE ALSO">SEE ALSO</a><br>

<hr>


<h2>NAME
<a name="NAME"></a>
</h2>



<p style="margin-left:11%; margin-top: 1em">libmawk_run_main
&minus; run main parts of a script</p>

<h2>SYNOPSIS
<a name="SYNOPSIS"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em"><b>#include
&lt;libmawk.h&gt;</b></p>

<p style="margin-left:11%; margin-top: 1em"><b>void
libmawk_run_main(mawk_state_t *</b><i>m</i><b>);</b></p>

<h2>DESCRIPTION
<a name="DESCRIPTION"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em">The
<b>libmawk_run_main</b>() attempts to take and parse the
next input record and runs all main parts of the script that
matches. If there are multiple full records in the input
buffer, the process repeats until the buffer becomes empty
or contains a partial record. If there is no full record in
the buffer, the call returns with nothing done. The call
itself never blocks, but the script may. The input buffer
may be filled using the libmawk_append_input() call.</p>

<p style="margin-left:11%; margin-top: 1em">Argument m is a
libmawk context previously returned by libmawk_initialize()
or libmawk_initialize_stage3().</p>

<h2>SEE ALSO
<a name="SEE ALSO"></a>
</h2>



<p style="margin-left:11%; margin-top: 1em"><b>libmawk_initialize_stage</b>(3libmawk),
<b>libmawk_initialize</b>(3libmawk),
<b>libmawk_append_input</b>(3libmawk),</p>
<hr>
</body>
</html>