2005-04-29 17:36:43 +02:00
|
|
|
#include "syslib.h"
|
|
|
|
|
|
|
|
/*===========================================================================*
|
2005-07-14 17:13:33 +02:00
|
|
|
* sys_getksig *
|
2005-04-29 17:36:43 +02:00
|
|
|
*===========================================================================*/
|
2005-07-14 17:13:33 +02:00
|
|
|
PUBLIC int sys_getksig(k_proc_nr, k_sig_map)
|
2005-04-29 17:36:43 +02:00
|
|
|
int *k_proc_nr; /* return process number here */
|
|
|
|
sigset_t *k_sig_map; /* return signal map here */
|
|
|
|
{
|
|
|
|
message m;
|
|
|
|
int result;
|
|
|
|
|
2005-07-14 17:13:33 +02:00
|
|
|
result = _taskcall(SYSTASK, SYS_GETKSIG, &m);
|
2005-04-29 17:36:43 +02:00
|
|
|
*k_proc_nr = m.SIG_PROC;
|
|
|
|
*k_sig_map = (sigset_t) m.SIG_MAP;
|
|
|
|
return(result);
|
|
|
|
}
|
|
|
|
|