C functions implementation to use in my projects.
Some of the most important points of the norm.
- Per function no more than:
- 25 lines.
- 5 variables.
- 4 parameters.
- No more than 80 columns per line.
- Only single instruction per line.
- Variable declarations and initializations must be in different lines.
- Forbidden stuff:
- Conditionals and loops:
- for
- do...while
- switch...case
- goto
- Ternary operators like '?'
- Variable Length Arrays
- Implicit type in variable declaration.
- Conditionals and loops:
- No more than 5 functions per file.
Any library functions that aren't explicitly allowed to use in specific project, it's forbidden.
Download and type make
to compile the library.