Back to index

tetex-bin  3.0
concat3.c File Reference
#include <kpathsea/config.h>

Go to the source code of this file.


string concat3 P3C (const_string, s1, const_string, s2, const_string, s3)

Function Documentation

string concat3 P3C ( const_string  ,
s1  ,
const_string  ,
s2  ,
const_string  ,

Definition at line 23 of file concat3.c.

  string answer
    = (string) xmalloc (strlen (s1) + strlen (s2) + strlen (s3) + 1);
  strcpy (answer, s1);
  strcat (answer, s2);
  strcat (answer, s3);

  return answer;

Here is the call graph for this function: