diff options
Diffstat (limited to 'srv9p.c')
-rw-r--r-- | srv9p.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/srv9p.c b/srv9p.c deleted file mode 100644 index 822a9ea..0000000 --- a/srv9p.c +++ /dev/null @@ -1,18 +0,0 @@ -#include <error.h> -#include <stdio.h> - -#include "coroutine.h" -#include "net9p.h" - -int main() { - int sock = netio_listen(9000); - if (sock < 0) - error(1, -sock, "netio_listen"); - - for (int i = 0; i < 8; i++) - if (!coroutine_add(net9p_cr, &sock)) - error(1, 0, "coroutine_add(net9p_cr, NULL)"); - - coroutine_main(); - return 1; -} |