Remove building with NOCRYPTO option
[minix3.git] / tests / rump / rumpkern / h_client / h_simplecli.c
blob11f432c38aad71819823eef42950596c24573a42
1 /* $NetBSD: h_simplecli.c,v 1.2 2011/01/14 13:23:15 pooka Exp $ */
3 #include <sys/types.h>
5 #include <err.h>
6 #include <stdlib.h>
7 #include <stdio.h>
8 #include <unistd.h>
10 #include <rump/rump_syscalls.h>
11 #include <rump/rumpclient.h>
13 int
14 main(int argc, char *argv[])
17 if (rumpclient_init() == -1)
18 err(1, "rumpclient init");
20 if (argc > 1) {
21 for (;;) {
22 rump_sys_getpid();
23 usleep(10000);
25 } else {
26 if (rump_sys_getpid() > 0)
27 exit(0);
28 err(1, "getpid");