Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Apr 2010 21:14:25 +0200
From:      "C. P. Ghost" <cpghost@cordula.ws>
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:  <w2md74eb87c1004101214x383e1047w118d1f7e0e54eaf7@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 5:19 PM, Gary Kline <kline@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/



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