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

Function flush_and_exit

common/status.c:170–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170static NORETURN void flush_and_exit(int reason)
171{
172 /* Don't let it take forever. */
173 alarm(10);
174 if (status_conn)
175 daemon_conn_sync_flush(status_conn);
176
177 exit(0x80 | (reason & 0xFF));
178}
179
180void status_send_fd(int fd)
181{

Callers 1

status_send_fatalFunction · 0.85

Calls 1

daemon_conn_sync_flushFunction · 0.85

Tested by

no test coverage detected