Home | History | Annotate | Download | only in python2.7

Lines Matching defs:fcntl

111     import fcntl
113 fcntl = None
598 if fcntl is not None and hasattr(fcntl, 'FD_CLOEXEC'):
599 flags = fcntl.fcntl(self.fileno(), fcntl.F_GETFD)
600 flags |= fcntl.FD_CLOEXEC
601 fcntl.fcntl(self.fileno(), fcntl.F_SETFD, flags)