|
RTI Connext TSS C API
Version 4.2.0
|
Interface for operating on a sequence of characters. More...
#include <string.h>
Interface for operating on a sequence of characters.
A FACE_string is defined by three characteristics:
A "managed" FACE_string is responsible for and manages the lifetime of the memory for the data it represents. An "unmanaged" FACE_string essentially wraps a pointer to memory whose lifetime is managed elsewhere.
A FACE_string is "initialized" if it is in a state that could have resulted from successful initialization by one of the "_init" functions. Any other state makes the FACE_string "uninitialized".
When a memory allocation failure or precondition violation occurs, a FACE_string is put into a known "invalid state". In this invalid state:
Global preconditions:
this_obj parameter is NULL, the function does nothing and returns FACE_STRING_NULL_THIS.