summaryrefslogtreecommitdiff
path: root/srv9p.c
blob: 489b33ee2dcc62cf0c8246f4fb9e1141a87e9c7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <error.h>
#include <stdio.h>
#include "coroutine.h"
#include "net9p.h"

int main() {
	if (!coroutine_add(net9p_listen_cr, NULL))
		error(1, 0, "coroutine_add(net9p_listen_cr, NULL)");

	coroutine_main();
	return 1;
}