sb_str() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

sb_str() function

Returns a pointer to the null terminated string in the buffer. Note this pointer only remains valid until the next modification to the string buffer. The returned pointer can be used to update the buffer in-place as long as care is taken to not overwrite the end of the buffer.

Syntax

static inline char *sb_str(const stringbuf *sb);

Arguments

sb