summaryrefslogtreecommitdiff
path: root/src/g_unix_signal.h
blob: f9d6f8b5f92f187d4d10b91625b57d9711672ae5 (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef G_UNIX_SIGNAL_H
#define G_UNIX_SIGNAL_H

#include <glib.h>

GSource *g_unix_signal_source_new(gint signum);
guint g_unix_signal_add(gint signum, GSourceFunc function, gpointer data);
guint g_unix_signal_add_full(gint priority, gint signum, GSourceFunc function, gpointer data, GDestroyNotify notify);

#endif /* G_UNIX_SIGNAL_H */