From owner-freebsd-questions@FreeBSD.ORG Sat Apr 10 19:45:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B30A1065672 for ; Sat, 10 Apr 2010 19:45:19 +0000 (UTC) (envelope-from corky1951@comcast.net) Received: from qmta12.emeryville.ca.mail.comcast.net (qmta12.emeryville.ca.mail.comcast.net [76.96.27.227]) by mx1.freebsd.org (Postfix) with ESMTP id 54F0A8FC12 for ; Sat, 10 Apr 2010 19:45:19 +0000 (UTC) Received: from omta23.emeryville.ca.mail.comcast.net ([76.96.30.90]) by qmta12.emeryville.ca.mail.comcast.net with comcast id 3vLK1e00F1wfjNsACvlKnr; Sat, 10 Apr 2010 19:45:19 +0000 Received: from comcast.net ([98.203.142.76]) by omta23.emeryville.ca.mail.comcast.net with comcast id 3vlJ1e0011f6R9u8jvlJjo; Sat, 10 Apr 2010 19:45:19 +0000 Received: by comcast.net (sSMTP sendmail emulation); Sat, 10 Apr 2010 12:45:16 -0700 Date: Sat, 10 Apr 2010 12:45:15 -0700 From: Charlie Kester To: freebsd-questions@freebsd.org Message-ID: <20100410194515.GA96745@comcast.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <20100410151842.GA99692@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20100410151842.GA99692@thought.org> X-Mailer: Mutt 1.5.20 X-Composer: Vim 7.2 User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: are the are C [or C++] src sites .... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Apr 2010 19:45:19 -0000 On Sat 10 Apr 2010 at 08:19:38 PDT Gary Kline wrote: > > Sites of parts of websites that have example C functions? > [continuing from the ^Subject. > > I have googled around and found practically nothing; yet, wen > I was looking for a math function I found at least two > places. > > Rather than re-inventing the wheel over and again, wouldn't > it be nice to have a library of all kinds of functions? > --For kernel use, yes, they would need to be BSD specific... > > ideas? > > gary > > PS: As if it weren't obvious, no i haven't had my morning jolt of > java yet.... Did you try googling for "sample code"? I just did, and the results contained several such websites. Narrowing the search to "sample code c" or "sample code unix" yielded even better results. There are even some sites that you can use to search the vast body of existing open-source code, to see how others have used (or implemented) a given API. No, I'm not going to name any specific sites. You now have enough of a hint to find them on your own. ;-)