pan class="op">,</span> <span class="op">&amp;</span>fl<span class="op">);</span>  <span class="co">/* F_GETLK, F_SETLK, F_SETLKW */</span></span></code></pre></div>
<p>What just happened? Let’s start with the <code>struct flock</code> since the fields in it are used to <em>describe</em> the locking action taking place. Here are some field definitions:</p>
<table>
<colgroup>
<col style="width: 11%" />
<col style="width: 88%" />
</colgroup>
<thead>
<tr class="header">
<th style="text-align: center;">Field<