source: trunk/minix/lib/syslib/sys_getsig.c@ 20

Last change on this file since 20 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 561 bytes
Line 
1#include "syslib.h"
2
3/*===========================================================================*
4 * sys_getksig *
5 *===========================================================================*/
6PUBLIC int sys_getksig(k_proc_nr, k_sig_map)
7int *k_proc_nr; /* return process number here */
8sigset_t *k_sig_map; /* return signal map here */
9{
10 message m;
11 int result;
12
13 result = _taskcall(SYSTASK, SYS_GETKSIG, &m);
14 *k_proc_nr = m.SIG_ENDPT;
15 *k_sig_map = (sigset_t) m.SIG_MAP;
16 return(result);
17}
18
Note: See TracBrowser for help on using the repository browser.