fcntl/ioctl and O_NONBLOCK

Ralf Hildebrandt hildeb at www.stahl.bau.tu-bs.de
Fri Nov 26 11:22:41 EST 1999

On 26 Nov 1999 14:19:11 GMT, Ralf Hildebrandt <hildeb at www.stahl.bau.tu-bs.de> wrote:

>What I want to do: I want to use select() to see if there's data to be
>read from stdin or stdout and read it ALL (thus I need stdin/stdout to
>be non blocking!)

Hmm, is this here correct ?

fcntl.fcntl(stdout.fileno(), FCNTL.F_SETFD, FCNTL.O_NDELAY)

More information about the Python-list mailing list