Uninitialized vector entry?
[minix3.git] / lib / syslib / sys_getinfo.c
blobdd4bc43b9beafb9fb26af47bb637d558c70b5ae8
1 #include "syslib.h"
3 /*===========================================================================*
4 * sys_getinfo *
5 *===========================================================================*/
6 PUBLIC int sys_getinfo(request, ptr, len, ptr2, len2)
7 int request; /* system info requested */
8 void *ptr; /* pointer where to store it */
9 int len; /* max length of value to get */
10 void *ptr2; /* second pointer */
11 int len2; /* length or process nr */
13 message m;
15 m.I_REQUEST = request;
16 m.I_ENDPT = SELF; /* always store values at caller */
17 m.I_VAL_PTR = ptr;
18 m.I_VAL_LEN = len;
19 m.I_VAL_PTR2 = ptr2;
20 m.I_VAL_LEN2_E = len2;
22 return(_taskcall(SYSTASK, SYS_GETINFO, &m));