minix3/lib/libsys/sys_getsig.c

19 lines
551 B
C
Raw Permalink Normal View History

2020-02-21 00:59:27 +05:30
#include "syslib.h"
/*===========================================================================*
* sys_getksig *
*===========================================================================*/
int sys_getksig(proc_ep, k_sig_map)
endpoint_t *proc_ep; /* return process number here */
sigset_t *k_sig_map; /* return signal map here */
{
message m;
int result;
result = _kernel_call(SYS_GETKSIG, &m);
*proc_ep = m.m_sigcalls.endpt;
*k_sig_map = m.m_sigcalls.map;
return(result);
}