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
|
|
|
*===========================================================================*/
|
2012-03-25 20:25:53 +02:00
|
|
|
int sys_getksig(proc_ep, k_sig_map)
|
2009-09-22 23:42:02 +02:00
|
|
|
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);
|
|
|
|
}
|
|
|
|
|