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

sb_to_string() function

Return an allocated copy of buffer and frees 'sb'. If 'sb' is empty, returns an allocated copy of "".

Syntax

char *sb_to_string(stringbuf *sb);
Implemented in linenoise.c:196

Arguments

sb

References

LocationReferrerText
linenoise.c:196
char *sb_to_string(stringbuf *sb)
linenoise.c:127
char *sb_to_string(stringbuf *sb);
linenoise.c:2144linenoise()
return sb ? sb_to_string(sb) : NULL;
linenoise.c:2254linenoiseHistoryLoad()
char *buf = sb_to_string(sb);

Call Tree

Functions calling sb_to_string()
Functions called by sb_to_string()
all items filtered out
sb_to_string()
strdup()
free()
all items filtered out
Data read by sb_to_string()
sb_to_string()::pt
all items filtered out
sb_to_string()
Types freed by sb_to_string()
all items filtered out
sb_to_string()