From owner-freebsd-questions Fri Dec 8 1: 6: 3 2000 From owner-freebsd-questions@FreeBSD.ORG Fri Dec 8 01:05:59 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from fe090.worldonline.dk (fe090.worldonline.dk [212.54.64.152]) by hub.freebsd.org (Postfix) with SMTP id C015F37B401 for ; Fri, 8 Dec 2000 01:05:58 -0800 (PST) Received: (qmail 21641 invoked by uid 0); 8 Dec 2000 09:05:56 -0000 Received: from 56.ppp3-1.worldonline.dk (HELO FLONIDANPC18) (212.54.75.56) by fe090.worldonline.dk with SMTP; 8 Dec 2000 09:05:56 -0000 Message-ID: <030a01c060f5$ea71bb70$7d01a8c0@FLONIDAN> From: "joskis" To: Subject: coding style for freebsd Date: Fri, 8 Dec 2000 10:04:47 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi, is there any document for coding style for freebsd programms. like kernel, modules, and other (non contrib non ports). what i am looking for is, good style c programming style for my self. by style i meen: 1. function naming 1a. string_length() 1b. str_length() 1c. stringlength() 1d. strlength() and etc. ;)) 2. function description 2a. int main(int argc, char *argv[ ]) 2b. int main(argc, argv) int argc; char *argv[]; 2c. int main(int argc, char *argv[ ]) and etc. offcource this is not all, but i hope you cached the idea. btw. i now, what most some of it, depends only on myself. but i do not want to invent wheel. just use the invented one. and be happy for all my live what is left for me ;)) thanks, joskis To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message