title: About Linux C - UUID
body: <pre><code>#include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;  
  #include &lt;uuid/uuid.h&gt;
  
  int main(void) {
      puts("!!!Hello World!!!"); /* prints !!!Hello World!!! */
      uuid_t uuid;
      int uuid_generate_time_safe(uuid);
      printf("%x",uuid);
      return EXIT_SUCCESS;
  }
  </code></pre>
  
  <p>I just wonder why uuid is not 16 bytes long?
  I use DEBUG to view the memory, It is indeed not 16 bytes.
  And I use libpcap to develop my program, The uuid is not unique.</p>