diff options
Diffstat (limited to 'srv9p.c')
-rw-r--r-- | srv9p.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -0,0 +1,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; +} |