Naming conventions
This section describes the naming conventions adopted by the Zephyr Project, for each individual programming language or tool used in it.
C Code naming conventions
The naming conventions in this section apply to C source and header files, as stated in each individual sub-section.
Public symbol prefixes
All public APIs introduced to Zephyr must be prefixed according to the area or subsystem they belong to. Examples of area or subsystem prefixes are provided below for reference.
- k_for the kernel
- sys_for system-wide code and features
- net_for the networking subsystem
- bt_for the Bluetooth subsystem
- i2c_for the I2C controller subsystem