Call a foreign-language function: Difference between revisions

Content added Content deleted
Line 883: Line 883:
if (dst == NULL) return NULL; // No memory
if (dst == NULL) return NULL; // No memory
strcpy(dst, src); // Copy the characters
strcpy(dst, src); // Copy the characters
return dst; // Return the new string
return dst; // Return the new string
}
}
EndC
EndC