Pack as native uint64_t
(value)
| 3925 | class EventfdTests(unittest.TestCase): |
| 3926 | def test_eventfd_initval(self): |
| 3927 | def pack(value): |
| 3928 | """Pack as native uint64_t |
| 3929 | """ |
| 3930 | return struct.pack("@Q", value) |
| 3931 | size = 8 # read/write 8 bytes |
| 3932 | initval = 42 |
| 3933 | fd = os.eventfd(initval) |
no outgoing calls
no test coverage detected