Mission Base

Program Base Library Functions

size_t pblStringBuilderAppendStr

( PblStringBuilder* stringBuilder,
  const char* data )

Appends a '\0' terminated string to the end of the data of the string builder.

Documentation

Appends a '\0' terminated string to the end of the data of the string builder.

This function has a time complexity of O(N), with N being the length of the string to append.

Parameters:
stringBuilder - The string builder to use
data - The data to be added to the string builder
Returns:
size_t rc >= 0: The length of the string builder.
size_t rc == -1: An error, see pbl_errno:
PBL_ERROR_OUT_OF_MEMORY - Out of memory.

Alphabetic index



This page was generated with the help of DOC++.