Home | History | Annotate | Download | only in test

Lines Matching defs:fcntl

29     import fcntl
31 fcntl = None
4935 @unittest.skipIf(fcntl is None, "need fcntl")
4943 flags = fcntl.fcntl(fd, fcntl.F_GETFD)
4944 flags &= ~fcntl.FD_CLOEXEC
4945 fcntl.fcntl(fd, fcntl.F_SETFD, flags)
4949 @unittest.skipIf(fcntl is None, "need fcntl")
4954 self.assertEqual(fcntl.fcntl(fd, fcntl.F_GETFD) & fcntl.FD_CLOEXEC,
4955 fcntl.FD_CLOEXEC)
4958 self.assertEqual(fcntl.fcntl(fd, fcntl.F_GETFD) & fcntl.FD_CLOEXEC,