title: Passing a Variable Number of Arguments to a C Function
body: <p>Didnt know how best to describe this but ill explain here.
  I want to be able to do what i can do with <code>printf</code> I.E
  <code>printf("Variable:%@",astring);</code></p>
  
  <p>to call the below method i would run <code>write_sock(sock,"my message but i want a variable in here a well");</code></p>
  
  <p>Does that make sense?</p>
  
  <pre><code>static void write_sock(int sock, const char *msg)
  {
      int len = strlen(msg);
      if (write(sock, msg, len) != len)
      {
          perror("short write on socket");
          exit(1);
      }
  }
  </code></pre>