Pack as native uint64_t
(value)
| 4215 | class EventfdTests(unittest.TestCase): |
| 4216 | def test_eventfd_initval(self): |
| 4217 | def pack(value): |
| 4218 | """Pack as native uint64_t |
| 4219 | """ |
| 4220 | return struct.pack("@Q", value) |
| 4221 | size = 8 # read/write 8 bytes |
| 4222 | initval = 42 |
| 4223 | fd = os.eventfd(initval) |
no outgoing calls
no test coverage detected