MCPcopy Create free account
hub / github.com/ElementsProject/lightning / err

Function err

ccan/ccan/err/err.c:18–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18void NORETURN err(int eval, const char *fmt, ...)
19{
20 int err_errno = errno;
21 va_list ap;
22
23 fprintf(stderr, "%s: ", progname);
24 va_start(ap, fmt);
25 vfprintf(stderr, fmt, ap);
26 va_end(ap);
27 fprintf(stderr, ": %s\n", strerror(err_errno));
28 exit(eval);
29}
30
31void NORETURN errx(int eval, const char *fmt, ...)
32{

Callers 15

tor_autoserviceFunction · 0.85
tor_fixed_serviceFunction · 0.85
get_bolt_filesFunction · 0.85
mainFunction · 0.85
hsm_secret_is_encryptedFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
create_clientsFunction · 0.85
mainFunction · 0.85
create_clientsFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 5

mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
test_subdaemonsFunction · 0.68
mainFunction · 0.68