VM: simplify slab allocator
[minix.git] / lib / libsys / input.c
blobabb4639a3cb6e4ee5ae1040274e4c01d75a86091
1 #include "syslib.h"
2 #include <minix/sysutil.h>
3 /*****************************************************************************
4 * tty_inject_event *
5 *****************************************************************************/
6 int tty_inject_event(type, code, val)
7 int type;
8 int code;
9 int val;
11 message msg;
12 msg.INPUT_TYPE = type;
13 msg.INPUT_CODE = code;
14 msg.INPUT_VALUE = val;
16 return send(TTY_PROC_NR, &msg);