The document provides coding style guidelines for functions including: ensuring functions with multiple return statements properly use a flag variable; refactoring local variable names to include the function name to avoid conflicts; creating a return variable; avoiding register variables; and not using ++ and -- operators in statements.