RTI Connext Micro C API Version 4.2.0
Loading...
Searching...
No Matches
dds_c_string.h File Reference

DDS string definitions. More...

Functions

DDSCDllExport char * DDS_String_alloc (DDS_UnsignedLong length)
 Create a new empty string that can hold up to length characters.
 
DDSCDllExport char * DDS_String_dup (const char *str)
 Clone a string. Creates a new string that duplicates the value of string.
 
DDSCDllExport void DDS_String_free (char *str)
 Delete a string.
 
DDSCDllExport RTI_INT32 DDS_String_cmp (const char *s1, const char *s2)
 Compare two strings.
 
DDSCDllExport RTI_INT32 DDS_String_ncmp (const char *s1, const char *s2, DDS_UnsignedLong num)
 Compare two strings.
 
DDSCDllExport RTI_INT32 DDS_String_length (const char *string)
 Return the length of a string.
 

Detailed Description

DDS string definitions.