MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / die

Function die

deps/lua/src/strbuf.c:32–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30#include "strbuf.h"
31
32static void die(const char *fmt, ...)
33{
34 va_list arg;
35
36 va_start(arg, fmt);
37 vfprintf(stderr, fmt, arg);
38 va_end(arg);
39 fprintf(stderr, "\n");
40
41 exit(-1);
42}
43
44void strbuf_init(strbuf_t *s, int len)
45{

Callers 7

strbuf_initFunction · 0.85
strbuf_newFunction · 0.85
strbuf_set_incrementFunction · 0.85
calculate_new_sizeFunction · 0.85
strbuf_resizeFunction · 0.85
strbuf_append_fmtFunction · 0.85
strbuf_append_fmt_retryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected