For /dev/mem, map in memory to be copied to memory's own address space
[minix3.git] / lib / other / _sysuname.c
blob461c36c354428e78e5bb354820f53e302b390435
1 /* sysuname(2) - transfer uname(3) strings. Author: Kees J. Bot
2 * 5 Dec 1992
3 */
5 #define sysuname _sysuname
6 #include <lib.h>
8 int sysuname(int req, int field, char *value, size_t len)
10 message m;
12 m.m1_i1 = req;
13 m.m1_i2 = field;
14 m.m1_i3 = len;
15 m.m1_p1 = value;
17 /* Clear unused fields */
18 m.m1_p2 = NULL;
19 m.m1_p3 = NULL;
21 return _syscall(MM, SYSUNAME, &m);
25 * $PchId: _sysuname.c,v 1.4 1995/11/27 19:42:09 philip Exp $