diff options
author | kraxel <kraxel> | 2005-12-12 12:36:17 +0000 |
---|---|---|
committer | kraxel <kraxel> | 2005-12-12 12:36:17 +0000 |
commit | 773bcf34b9ec8720822d36d07516fb861bc695f5 (patch) | |
tree | b6004f9f7ee13f1323c93ac0759669b948126e1a /xenwatch.c | |
parent | 7e6f3f2478ddb5194dc842a016658319dad1099d (diff) | |
download | xenwatch-773bcf34b9ec8720822d36d07516fb861bc695f5.tar.gz |
- console handling.
Diffstat (limited to 'xenwatch.c')
-rw-r--r-- | xenwatch.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -17,24 +17,13 @@ static Display *dpy; -static void sigchild(int signr) -{ - fprintf(stderr,"SIGCHILD\n"); -} - /* ------------------------------------------------------------------ */ int main(int argc, char *argv[]) { - struct sigaction act, old; - setlocale(LC_ALL,""); - memset(&act, 0, sizeof(act)); - act.sa_handler = sigchild; - sigaction(SIGCHLD, &act, &old); - gtk_init(&argc, &argv); dpy = gdk_x11_display_get_xdisplay(gdk_display_get_default()); fcntl(ConnectionNumber(dpy),F_SETFD,FD_CLOEXEC); |