Drew DeVault 5/14/2022

A Hare code generator for finding ioctl numbers

Read Original

This technical article discusses the ioctl system in Unix/Linux, explaining how ioctl numbers are constructed using C macros. It details the challenge of implementing similar functionality in the Hare programming language, which lacks macros, and proposes a solution using code generation. The article provides specific examples and code snippets related to the tun/tap interface.

A Hare code generator for finding ioctl numbers

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week