diff options
Diffstat (limited to 'bee.c')
-rw-r--r-- | bee.c | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -0,0 +1,19 @@ +#include "irc.h" + +#include <stdio.h> + + +int +main() +{ + if (!irc_connect()) { fputs("irc_connect\n",stderr); return 1; } + if (!irc_handshake()) { fputs("irc_handshake\n",stderr); return 1; } + + int x; + do { + x = irc_recv(); + } while (!x); + + return 0; +} + |