Remove building with NOCRYPTO option
[minix.git] / minix / lib / libsys / sys_settime.c
blobabcc27518de926cde14b233b98ac531f8c7c25d0
1 #include "syslib.h"
2 #include <time.h>
4 int sys_settime(int now, clockid_t clk_id, time_t sec, long nsec)
6 message m;
7 int r;
9 m.m_lsys_krn_sys_settime.now = now;
10 m.m_lsys_krn_sys_settime.clock_id = clk_id;
11 m.m_lsys_krn_sys_settime.sec = sec;
12 m.m_lsys_krn_sys_settime.nsec = nsec;
14 r = _kernel_call(SYS_SETTIME, &m);
15 return r;