Am 29.07.2025 um 13:15 schrieb Crystal Kolipe: > 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. > > Since you already have some experience, the best resource is probably the > OpenBSD source itself. Just dive in and make some small local changes in > areas that interest you. Once you're confident that your patches are mostly > correct, post them to -tech for review and see what feedback you get. >
OpenBSD source would be *the* best source if only someone would stand up and document all those abbreviations in use where they are declared. Just a quick example: uiomove(void *cp, size_t n, struct uio *uio) We all know how to read that cp, of course. Stands for (c)annot (p)redict, right? Same for something like softc. Stands for "soft"ware "c"onfusion, right? That's pretty much not the easiest codebase to get a hold on without any experience. -- Christian