Re: Non blocking IO

Richard B. Johnson (root@chaos.analogic.com)
Thu, 25 Mar 1999 08:55:23 -0500 (EST)


On Thu, 25 Mar 1999, Murali Nagaraj wrote:

> Hello,
> Is there a support for non-blocking IO in Linux?
> Has anyone experimented with it?
> thanks, murali.
>
Of course. #include <fcntl.h> fd = open(device, O_WHATEVER|O__NONBLOCK));
and/or fcntl(F_GEFL/F_SETF);, setsockopt(); poll(); select();, etc.

Cheers,
Dick Johnson
***** FILE SYSTEM WAS MODIFIED *****
Penguin : Linux version 2.2.4 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/