Reputation: 311
I'm trying to write my first application using Glibmm and I'm confused as to how you can connect to and handle operating system signals such as SIGINT. I assume it's possible since Glib seems to have a way to do this. Do I need to write my own C++ wrapper for the Glib handler to get this functionality or is there a better way to do this that is already provided? Any help on this would be greatly appreciated.
Thanks!
Upvotes: 0
Views: 193
Reputation: 57920
Looks like this is not wrapped in the glibmm bindings. However, there is nothing preventing you from using the C function directly: g_unix_signal_add()
.
Upvotes: 1