I think this is fcntl(..., F_SETFL, ...), so something like import os, fcntl, sys flags = fcntl.fcntl(sys.stdin.fileno(), fcntl.F_GETFL) flags |= os.O_DIRECT fcntl.fcntl(sys.stdin.fileno(), fcntl.F_SETFL, flags)
Jeff
pgpx52DBavw3Y.pgp
Description: PGP signature
-- http://mail.python.org/mailman/listinfo/python-list