Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ err_set_progname
Function
err_set_progname
ccan/ccan/err/err.c:13–16 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
11
static const char *progname =
"unknown program"
;
12
13
void err_set_progname(const char *name)
14
{
15
progname = name;
16
}
17
18
void NORETURN err(int eval, const char *fmt, ...)
19
{
Callers
7
main
Function · 0.85
main
Function · 0.85
main
Function · 0.85
main
Function · 0.85
main
Function · 0.85
common_setup
Function · 0.85
main
Function · 0.85
Calls
no outgoing calls
Tested by
1
main
Function · 0.68