From owner-freebsd-questions@FreeBSD.ORG Tue Jan 25 23:21:04 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52B4116A4CE for ; Tue, 25 Jan 2005 23:21:04 +0000 (GMT) Received: from smtp.cms-stl.com (smtp.cms-stl.com [192.94.149.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13B3043D1F for ; Tue, 25 Jan 2005 23:21:02 +0000 (GMT) (envelope-from madden@cms-stl.com) Date: Tue, 25 Jan 2005 17:21:00 -0600 From: Michael Madden To: questions@freebsd.org Message-ID: <20050125232100.GA6169@cmsrtp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-CMS-Received: Tue, 25 Jan 2005 17:21:01 -0600, linus.cms-stl.com ([172.16.25.70]:43387) X-CMS-Archived: smtp.cms-stl.com X-CMS-Scanned: Sophos Anti-Virus X-CMS-Received: Tue, 25 Jan 2005 17:21:01 -0600, localhost.localdomain ([127.0.0.1]:55156 helo=lxmail.cms-stl.com) X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: madden@cms-stl.com X-SA-Exim-Scanned: No (on smtp.cms-stl.com); SAEximRunCond expanded to false Subject: C Language Style Guide X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2005 23:21:04 -0000 Is there an accepted standard C language style guide. I'm starting to develop and test my applications on FreeBSD, and I want to ensure my code is readable and maintainable. I've been able to find specific project's guidelines like the following, but I can find a general standard. Does ANSI or POSIX dictate anything about style or coding standards? Apache: http://httpd.apache.org/dev/styleguide.html GNU: http://www.gnu.org/prep/standards/ Thanks, Mike