title: Perl unpack "S*" equivalent in C
body: <p>I'm having a little trouble understanding Perl's unpack in some code I'm reading, specifically with the <code>S*</code> template.</p>
  
  <pre><code>$data = "FF";
  print "$data - ", unpack("S*", $data), "\n";
  # &gt; FF - 17990
  </code></pre>
  
  <ol>
  <li>What is the equivalent of this in C?</li>
  <li>Why?</li>
  </ol>
  
  <p>Thanks very much for your help</p>