From owner-freebsd-questions@FreeBSD.ORG Wed Jan 26 22:11:23 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 E5FAA16A4CE for ; Wed, 26 Jan 2005 22:11:23 +0000 (GMT) Received: from wolf.bytecraft.au.com (wolf.bytecraft.au.com [203.39.118.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5494643D1D for ; Wed, 26 Jan 2005 22:11:22 +0000 (GMT) (envelope-from MTaylor@bytecraft.com.au) Received: from localhost (localhost [127.0.0.1])j0QMB0a0067976; Thu, 27 Jan 2005 09:11:00 +1100 (EST) (envelope-from MTaylor@bytecraft.com.au) Received: from wolf.bytecraft.au.com ([127.0.0.1]) by localhost (wolf.bytecraft.au.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 66840-08; Thu, 27 Jan 2005 09:11:00 +1100 (EST) Received: from svmarshal.bytecraft.au.com ([10.0.0.4])j0QMA1q7067964; Thu, 27 Jan 2005 09:10:02 +1100 (EST) (envelope-from MTaylor@bytecraft.com.au) Received: from svmailmel.bytecraft.internal (Not Verified[10.0.0.24]) by svmarshal.bytecraft.au.com with MailMarshal (v5,0,3,78) id ; Thu, 27 Jan 2005 09:10:01 +1100 Received: from [10.0.17.42] ([10.0.17.42]) by svmailmel.bytecraft.internal with Microsoft SMTPSVC(6.0.3790.211); Thu, 27 Jan 2005 09:10:01 +1100 From: Murray Taylor To: Michael Madden In-Reply-To: <20050125232100.GA6169@cmsrtp.com> References: <20050125232100.GA6169@cmsrtp.com> Content-Type: text/plain Organization: Bytecraft Systems Message-Id: <1106777401.55207.90.camel@wstaylorm.dand06.au.bytecraft.au.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 27 Jan 2005 09:10:01 +1100 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 26 Jan 2005 22:10:01.0761 (UTC) FILETIME=[C804A110:01C503F3] cc: questions@freebsd.org Subject: Re: C Language Style Guide X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: mtaylor@bytecraft.com.au List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jan 2005 22:11:24 -0000 On Wed, 2005-01-26 at 10:21, Michael Madden wrote: > 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 > man indent This may give you [a] some guidance [b] a tool that you can setup with a set of project defaults. -- Murray Taylor Special Projects Engineer --------------------------------- Bytecraft Systems & Entertainment P: +61 3 8710 2555 F: +61 3 8710 2599 D: +61 3 9238 4275 M: +61 417 319 256 E: mtaylor@bytecraft.com.au or visit us on the web http://www.bytecraftsystems.com http://www.bytecraftentertainment.com --------------------------------------------------------------- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --------------------------------------------------------------- ***This Email has been scanned for Viruses by MailMarshal.***