The other answers you've had are good, just a couple of extras: On 2017-07-07, J Doe <gene...@nativemethods.com> wrote: > Ok, thank you for clarifying that for me. I will proceed with > development in C. As an aside - do OpenBSD developers track with the > latest standard (C11), or is another standard preferred ?
Compilers are currently GCC 4.2.1 and clang 4.0.0, so code needs to work with both of those. OpenBSD runs on strict-alignment architectures, BE and LE, signed vs. unsigned char arches, and different stack directions, so portability is important. > Ok. I had something like style(9) (https://man.openbsd.org/style.9) > in mind, but of course: 1) It is the kernel style guide, not user land It's used for both kernel and user land. Not absolutely strictly, but shouldn't go too far from it. (Also generally local style in a particular part of the tree should be respected).