ar_osal/api/ar_osal_string.h
AR Osal String
Defines public APIs for string operations.
Header:
Parameters
Returns
Number of characters in the string, not including the terminating null character. If there is no null terminator in the buffer, provided string buffer size is returned to indicate the error.
Parameters
Returns
0 Success Nonzero Failure note: Always null terminator is appended to the destination and string truncation will occur if destination size is smaller or equal to characters copy size.
Parameters
Returns
0 str1 < str2 0 str1 == str2 0 str1 > str2
Parameters
Returns
0 Success Nonzero Failure note: Always null terminator is appended to the destination after concatenation and string truncation will occur if destination size is smaller or equal to source.
Parameters
Returns
Pointer to the first occurrence of str_search in str. NULL- if not found.
ar_strlen Get the length of the string.
ar_strcpy Copies character from source to destination string.
ar_strcmp Compare characters in two given strings.
ar_strcat Append character from source to destination string.
ar_strstr Search string in string.
ar_sprintf Write formated data to a string.
Was this page helpful?

