minix/lib/libsys/sys_getsig.c
Lionel Sambuc 94c9376df5 Removing SYS_SIG_* field macros.
Change-Id: Ib4f1b48268d4539ae6d4502ad647ecb73ea87f79
2014-03-03 20:47:00 +01:00

18 lines
551 B
C

#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);
}