#include "ScribbleDefine.h"

Go to the source code of this file.
Functions | |
| void | dealTermSignal (ScribbleUICtx *pScribbleUICtx) |
| void dealTermSignal | ( | ScribbleUICtx * | pScribbleUICtx | ) |
Copyright (C) 2005-2008 iRex Technologies B.V. All rights reserved.
Definition at line 57 of file ScribbleSignalDeal.c.
00058 { 00059 // catch the SIGTERM signal 00060 struct sigaction on_term; 00061 00062 pCurrScribbleUICtx=pScribbleUICtx; 00063 memset(&on_term, 0x00, sizeof(on_term)); 00064 on_term.sa_handler = on_sigterm; 00065 sigaction(SIGTERM, &on_term, NULL); 00066 }

1.5.6