Drop main() prototype. Syncs with NetBSD-8
[minix.git] / minix / lib / libsys / srv_kill.c
blobcbf860e8bfed37eec9f4ec1378cd282444335334
1 #include "syslib.h"
3 #include <string.h>
5 int
6 srv_kill(pid_t pid, int sig)
8 message m;
10 memset(&m, 0, sizeof(m));
11 m.m_rs_pm_srv_kill.pid = pid;
12 m.m_rs_pm_srv_kill.nr = sig;
13 return _taskcall(PM_PROC_NR, PM_SRV_KILL, &m);