C Tutorial: void *, generic data-structures, and functions

Опубликовано: 30 Апрель 2026
на канале: Gabriel Parmer
7,606
198

Once you learn the basics of pointers in C, you soon there-after find void * pointers. What are these strange beasts? Related, how does one implement generic data-structures and functions in C? This leverages function pointers and the void * generic type.

This was cast as an office hour for the GWU OS class associated with the Evening OS Hour (@   / gparmer  . The associated files can be found at https://github.com/gwu-cs-os/evening_...