Age | Commit message (Collapse) | Author |
|
*: fcntl(fd, F_GETFL) doesn't require third parameter at all.
|
|
*: s/include "busybox.h"/include "libbb.h"
|
|
|
|
inetd-wait mode and dying after timeout). Minor fixes,
comments are improved in places.
|
|
Since this is also needed for other applets like telnetd,
introduce generic driver for such things.
It even supports inetd-wait ('linger') mode, when inetd
hands out listen socket to child and waits to it to die,
instead of handing out accepted socket and continuing
listening itself (nowait mode).
Code growth ~200 bytes.
NB: our inetd doesn't support wait mode yet (or mabe it is buggy).
|