On Tue, Jul 29, 2025 at 03:19:40AM -0700, Neel Chakraborty wrote: > Hello everyone, hope you're having a great day. I am looking for > resources to learn modern C, so that I can understand (and hopefully > someday contribute) to the OpenBSD source code, in areas like device > drivers, kernel and the init system. > > I am not new to C, I have previous programming experience with the > language. I have learnt C from K&R. However, my knowledge is quite > elementary, and not at all up to speed with modern standards.
I am similarly getting into C from the OpenBSD perspective. Checkout the OpenBSD source and the port source. I look at more recently added folders like httpd and doas for example. Also I like httpd because I tend to understand the topics itself so if there's anything you already understand find THAT C code. That's why the ports code is helpful. More smaller things to choose from.