tfStrCat

Jump to: navigation, search

Table of Contents >> Programmer's Reference


#include <trsocket.h>


char TM_FAR * tfStrCat (
char TM_FAR * stringDestPtr,
const char TM_FAR * stringSrcPtr
);


Function Description

This function takes the content of one string and appends it to another. The user of this function must make certain the contents of both strings will fit in the size allotted for the fist. This function accomplishes this by overwriting the null character at the end of the first string with the first character in the second.


Parameters

  • stringDestPtr
    The string to be appended.
  • stringSrcPtr
    The string appended to stringDestPtr.


Returns

  • stringDestPtr
    A pointer to the beginning of the combined string.


Table of Contents >> Programmer's Reference