Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (10 sloc) 0.643 kb
a few rules we're using:
1. "(0 == rc)" instead of the usual "(rc == 0)"
All equality and inequality related comparisons are done in this style.
VAR == CONST is prone to the VAR = CONST type of error.
CONST = VAR will be signaled by the compiler.
Same goes for !=, to have some consistency.
2. Verify return codes of every thing.
3. Use only portable APR functions if possible. Anything platform specific should be contained within
a function call. All platform specific functions should be located in platform-specific source files.
At compile time, the build system will choose the appropriate platform specific file and use it.
Jump to Line
Something went wrong with that request. Please try again.