Chapter 5. Source Tree Guidelines and Policies

Contributed by Poul-Henning Kamp and Giorgos Keramidas.
Table of Contents
5.1. Style Guidelines
5.2. MAINTAINER on Makefiles
5.3. Contributed Software
5.4. Encumbered Files
5.5. Shared Libraries

This chapter documents various guidelines and policies in force for the FreeBSD source tree.

5.1. Style Guidelines

Consistent coding style is extremely important, particularly with large projects like FreeBSD. Code should follow the FreeBSD coding styles described in style(9) and style.Makefile(5).

All FreeBSD documents are available for download at https://download.freebsd.org/ftp/doc/

Questions that are not answered by the documentation may be sent to <freebsd-questions@FreeBSD.org>.
Send questions about this document to <freebsd-doc@FreeBSD.org>.