sd-event: make it easy to bind signal handling to event loop exits

System Internals / systemd - Lennart Poettering [poettering.net] - 5 May 2014 16:47 UTC

By passing a NULL callback provide a simple way to make event loops exit on SIGTERM and other signals.

59bc1fd sd-event: make it easy to bind signal handling to event loop exits
src/libsystemd/sd-event/sd-event.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)

Upstream: github.com


  • Share