are the are C [or C++] src sites ....

C. P. Ghost cpghost at cordula.ws
Sat Apr 10 19:14:27 UTC 2010


On Sat, Apr 10, 2010 at 5:19 PM, Gary Kline <kline at thought.org> wrote:

>        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...
>

Not sure what you're meaning here, but the collection of
libraries in FreeBSD's source tree (/usr/src/lib) contains
A LOT of C functions that you could use as examples...

For instance, if you're looking for those typical C functions
of the C library that are often used in introductory texts,
you want to look at libc, e.g. in:

  /usr/src/lib/libc/stdlib
  /usr/src/lib/libc/string
  /usr/src/lib/libc/gen
  (...)

Then, there are also non-library source files all over /usr/src,
that are full of C functions. ;-)

Of course, you could always install additional third-party
libraries, programs etc. manually or from ports if you need
more examples.

       ideas?
>

What are you trying to achieve?

       gary
>
>        PS:  As if it weren't obvious, no i haven't had my morning
>        jolt of java yet....
>

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/


More information about the freebsd-questions mailing list