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
|
|
|
*===========================================================================*/
|
2009-09-22 23:42:02 +02:00
|
|
|
PUBLIC int sys_getksig(proc_ep, k_sig_map)
|
|
|
|
endpoint_t *proc_ep; /* return process number here */
|
2005-04-29 17:36:43 +02:00
|
|
|
sigset_t *k_sig_map; /* return signal map here */
|
|
|
|
{
|
|
|
|
message m;
|
|
|
|
int result;
|
|
|
|
|
2010-02-09 16:20:09 +01:00
|
|
|
result = _kernel_call(SYS_GETKSIG, &m);
|
2009-09-22 23:42:02 +02:00
|
|
|
*proc_ep = m.SIG_ENDPT;
|
2005-04-29 17:36:43 +02:00
|
|
|
*k_sig_map = (sigset_t) m.SIG_MAP;
|
|
|
|
return(result);
|
|
|
|
}
|
|
|
|
|