From: Simone Piccardi Date: Tue, 17 Feb 2004 22:20:13 +0000 (+0000) Subject: Questo era rimasto indietro da un bel po' X-Git-Url: https://gapil.gnulinux.it/gitweb/?a=commitdiff_plain;h=630c685145f488d9a3b7b81a25619982dbbb25ea;p=gapil.git Questo era rimasto indietro da un bel po' --- diff --git a/listati/poll_echod.c b/listati/poll_echod.c new file mode 100644 index 0000000..91b53ce --- /dev/null +++ b/listati/poll_echod.c @@ -0,0 +1,60 @@ + /* initialize all needed variables */ + poll_set = (struct pollfd *) malloc(n * sizeof(struct pollfd)); + max_fd = list_fd; /* maximum now is listening socket */ + for (i=0; i