Non blocking tty I/O

Mike solem msolem at firstlinux.net
Wed Aug 13 22:49:46 EDT 2003


I'm reading data from the comport on linux, using 'read(1)'.  This blocks until it gets a byte.  How can I get it to not block, so that it doesn't hang forever waiting for a byte.

Mike







More information about the Python-list mailing list