RTI Connext Micro C API Version 4.3.0
Loading...
Searching...
No Matches
osapi_string.h File Reference

String interface definition. More...

#include "osapi/osapi_dll.h"
#include "osapi/osapi_types.h"

Functions

void OSAPI_Memory_copy (void *dest, const void *src, RTI_SIZE_T size)
 Copies size bytes from non-overlapping src to dest.
 
void OSAPI_Memory_zero (void *mem, RTI_SIZE_T size)
 Sets memory region to 0.
 
RTI_INT32 OSAPI_Memory_compare (const void *left, const void *right, RTI_SIZE_T size)
 Byte-wise compare of two memory regions.
 
void OSAPI_Memory_move (void *dest, const void *src, RTI_SIZE_T size)
 Moves size bytes from non-overlapping src to dest.
 
void * OSAPI_Memory_fndchr (const void *s, RTI_INT32 c, RTI_SIZE_T n)
 Locate byte in byte string.
 
RTI_SIZE_T OSAPI_String_length (const char *s)
 Return length of ASCIIZ string.
 
RTI_INT32 OSAPI_String_cmp (const char *left, const char *right)
 Compare two ASCIIZ strings.
 
RTI_INT32 OSAPI_String_ncmp (const char *left, const char *right, RTI_SIZE_T num)
 Compare at most num characters of two ASCII strings.
 
RTI_BOOL OSAPI_String_parse_unsigned_long (const char *str, unsigned int *result)
 Parse an unsigned long integer from a string.
 
RTI_BOOL OSAPI_String_parse_unsigned_long_long (const char *str, unsigned long long int *result)
 Parse an unsigned long long integer from a string.
 
int OSAPI_String_char_to_lowercase (const int c)
 Convert a character to lowercase.
 
char * OSAPI_String_strchr (const char *s, int c)
 Locate character in string.
 
RTI_SIZE_T OSAPI_String_length_w_max (const char *s, RTI_SIZE_T max)
 Return length of ASCII string with maximum limit.
 

Detailed Description

String interface definition.