MCPcopy Create free account
hub / github.com/NetHack/NetHack / strbuf_init

Function strbuf_init

src/strutil.c:8–13  ·  view source on GitHub ↗

strbuf_init() initializes strbuf state for use */

Source from the content-addressed store, hash-verified

6
7/* strbuf_init() initializes strbuf state for use */
8void
9strbuf_init(strbuf_t *strbuf)
10{
11 strbuf->str = NULL;
12 strbuf->len = 0;
13}
14
15/* strbuf_append() appends given str to strbuf->str */
16void

Callers 4

all_options_strbufFunction · 0.85
strbuf_emptyFunction · 0.85
do_write_config_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected