This document as well as the selection and arrangement of the rules it comprises is Copyright © 2018 by Barr Group. It is permissible for individual project teams, whole companies, and others to adopt all or a subset of the rules herein as their coding standard. Indeed, we are happy that many readers of earlier editions have done this and hope that many more will. Adoption of the rules as presented herein may be done simply by identifying “Barr Group’s Embedded C Coding Standard” (alternatively, “BARR-C:2018”) as the source of your rules.

To help development teams customize this coding standard to meet their project- or company-specific needs, an editable version of this document is available for license and download at

Your full legal obligations in relation to the use of this copyrighted work are described at the front of this book.