home > resources > c++ coding standard > online version

C Function Names

  • In a C++ project there should be very few C functions.
  • For C functions use the GNU convention of all lower case letters with '_' as the word delimiter.

Justification

  • It makes C functions very different from any C++ related names.

Example 2-16. C Function Names Example

int some_c_function()
{
}