Skip to content
Rene Bartsch edited this page Jan 6, 2014 · 4 revisions
  • Programming language: C99
  • https://www.kernel.org/doc/Documentation/CodingStyle
  • Use fixed size integer types of stdint.h (uint8_t, ..., uint128_t)
  • Constants must be left-hand sided of comparison operators to avoid accidental assignments by typos ('=' instead of '==')
  • Use extensive inline documentation for Doxygen
  • Use 'precond' and 'postcond' tag to document pre-conditions and post-conditions of functions with Doxygen

Clone this wiki locally