Target page
reference/c-standard
No source exists — this is new content identified in Interview1 §4 as needed
for server contributors.
Category: author-from-scratch
What a human must do (~4 hours)
Write the C coding standard for PandABlocks server contributors, covering at
minimum:
- **Naming conventions** — functions, variables, macros, types (typedef'd
structs, enums).
- **File structure** — header guard style, include order,
extern "C" guards.
- **Error handling** — return-code conventions,
errno usage, logging macros.
- **Memory management** — ownership rules, allocation patterns, common pitfalls
in the server's context.
- **Comment style** — what warrants a comment; doxygen vs plain C comments.
- **Formatting** — indentation (tabs/spaces), brace placement, line length.
- **Project-specific idioms** — any server-specific patterns (e.g. lock/unlock
wrappers, the config vs data thread boundary).
Post as a PR against docs/reference/c-standard.md on the docs branch.
Target page
reference/c-standardNo source exists — this is new content identified in Interview1 §4 as needed
for server contributors.
Category: author-from-scratch
What a human must do (~4 hours)
Write the C coding standard for PandABlocks server contributors, covering at
minimum:
structs, enums).
extern "C"guards.errnousage, logging macros.in the server's context.
wrappers, the config vs data thread boundary).
Post as a PR against
docs/reference/c-standard.mdon thedocsbranch.