From owner-freebsd-questions@FreeBSD.ORG Mon Apr 12 16:34:33 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 8FC951065673 for ; Mon, 12 Apr 2010 16:34:33 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.221.181]) by mx1.freebsd.org (Postfix) with ESMTP id 4D2128FC2D for ; Mon, 12 Apr 2010 16:34:32 +0000 (UTC) Received: by qyk11 with SMTP id 11so5017498qyk.13 for ; Mon, 12 Apr 2010 09:34:32 -0700 (PDT) MIME-Version: 1.0 Sender: aimass@yabarana.com Received: by 10.229.218.137 with HTTP; Mon, 12 Apr 2010 09:34:32 -0700 (PDT) In-Reply-To: <20100410151842.GA99692@thought.org> References: <20100410151842.GA99692@thought.org> Date: Mon, 12 Apr 2010 12:34:32 -0400 X-Google-Sender-Auth: 31860f484cc9f8a7 Received: by 10.229.242.3 with SMTP id lg3mr6131780qcb.102.1271090072341; Mon, 12 Apr 2010 09:34:32 -0700 (PDT) Message-ID: From: Alejandro Imass To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Mailing List 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: Mon, 12 Apr 2010 16:34:33 -0000 On Sat, Apr 10, 2010 at 11:19 AM, Gary Kline wrote: > > =A0 =A0 =A0 =A0Sites of parts of websites that have example C functions? > =A0 =A0 =A0 =A0[continuing from the ^Subject. > > =A0 =A0 =A0 =A0I have googled around and found practically nothing; yet, = wen > =A0 =A0 =A0 =A0I was looking for a math function I found at least two > =A0 =A0 =A0 =A0places. > > =A0 =A0 =A0 =A0Rather than re-inventing the wheel over and again, wouldn'= t > =A0 =A0 =A0 =A0it be nice to have a library of all kinds of functions? > =A0 =A0 =A0 =A0--For kernel use, yes, they would need to be BSD specific.= .. > > =A0 =A0 =A0 =A0ideas? > When you install a lib in FBSD (and many other FLOSS OSs) it usually installs a man page, so apropos and of course man will have it: man sprintf, so the detailed information is usually there... The tricky part is having like a table of contents of some sort especially at the library level which is what _I think_ you are referring to. For example, to answer the question =BFwhat library should I use for X or Y need? . If you use Perl, you have the cpan search engine (and others) wher you go llook for libs. For C it is many times not tha obvious, nor is there a single repository of libraries for C as there is for say Perl. I find your question very interesting but sadly I have no direct answer myself. I think is more of "a topic" thing in C. For example if you are making a driver, you will usually be involved in mailing lists related to that, and people will share X or Y lib secrets with you. You will also hack someone else's code and look at the libs they are using, and most importangly you will have books and other stuff that will point to the use of those libs. Now whether there is a directory of C libraries around, I don't think so, but if you find one, _please_ share it ;) Best, Alejandro Imass > =A0 =A0 =A0 =A0gary > > =A0 =A0 =A0 =A0PS: =A0As if it weren't obvious, no i haven't had my morni= ng > =A0 =A0 =A0 =A0jolt of java yet.... > > > -- > =A0Gary Kline =A0kline@thought.org =A0http://www.thought.org =A0Public Se= rvice Unix > =A0 =A0 =A0 =A0http://jottings.thought.org =A0 http://transfinite.thought= .org > =A0 =A0The 7.79a release of Jottings: http://jottings.thought.org/index.p= hp > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >