 add multiple segments, put the 
   call to <b>spkw03_c</b> in a loop. 
 
      #include &quot;SpiceUsr.h&quot;
           .
           .
           .
           
      /.
      First open the SPK file and get a handle for it. 
      ./
      <a href="spkopa_c.html">spkopa_c</a> ( spknam, &amp;handle ); 

      /.
      Create a segment identifier. 
      ./
      segid = &quot;MY_SAMPLE_SPK_TYPE_3_SEGMENT&quot;;

      /.
      Write the segment. 
      ./
      <b>spkw03_c</b> ( handle, 301,    3,      &q