python3-ioctl-opt

Python implementation of asm-generic/ioctl.h

Description

Pythonified Linux asm-generic/ioctl.h, providing functions to compute fcntl.ioctl's opt argument. This allows replicating driver code that computes ioctl command numbers, keeping magic constants and differences to C code to a minimum.

Supported object types for the size argument are ctypes types and instances, memoryview, bytearray, struct.Struct, and array.array.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/vpelletier/python-ioctl-opt


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python3-ioctl-opt