Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 2010 12:34:32 -0400
From:      Alejandro Imass <ait@p2ee.org>
To:        Gary Kline <kline@thought.org>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: are the are C [or C++] src sites ....
Message-ID:  <l2ua14066a01004120934ybeab65dfyf8ee629c8710a6f8@mail.gmail.com>
In-Reply-To: <20100410151842.GA99692@thought.org>
References:  <20100410151842.GA99692@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 10, 2010 at 11:19 AM, Gary Kline <kline@thought.org> 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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?l2ua14066a01004120934ybeab65dfyf8ee629c8710a6f8>