title: How to concat two char * in C?
body: <p>I receive a char * buffer which have the lenght of 10.
  But I want to concat the whole content in my struct which have an variable char *.</p>
  
  <pre><code>typedef struct{
      char *buffer;
    //..
  
  }file_entry;
  
  file_entry real[128];
  
  int fs_write(char *buffer, int size, int file) {
     //every time this function is called buffer have 10 of lenght only
     // I want to concat the whole text in my char* in my struct
  }
  </code></pre>
  
  <p>Something like this :</p>
  
  <pre><code>  real[i].buffer += buffer;
  </code></pre>
  
  <p>How can I do this in C ?</p>