Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Sep 1998 19:27:39 -0500 (EST)
From:      nvp@mediaone.net
To:        Scott_Graves@sealand.com (Graves Scott)
Cc:        questions@FreeBSD.ORG
Subject:   Re: Learning C on FreeBSD...
Message-ID:  <19980915002739.10845.qmail@inhaler.noopy.org>
In-Reply-To: <E00F8BB67E78D011965C00805F9AC8010253DB1B@sdal010exch.sealand.csx.com> from "Graves, Scott" at "Sep 14, 98 06:08:08 pm"

next in thread | previous in thread | raw e-mail | index | archive | help

> Can someone give me a few books which will help me to learn C on FreeBSD...
> I'd like to start actually understanding how to design programs for
> FreeBSD.... The last programming language I used was PASCAL over 3 years
> ago... Any suggestions would be great...

When you say "design programs for FreeBSD", do you mean "write
system-level stuff for FreeBSD, device drivers, packet filters, etc.",
or do you mean "write C programs which run under FreeBSD"?
These books should help with either or both:
       - Practical C (3rd Ed) by Steve Oualline (O'Reilly and Assoc).
         This book doesn't really cover OS-specific stuff, nor does it
	 cover POSIX.  But it does offer a number of interesting
	 examples from the simple (2+2) to the more complex (pointers,
	 linked lists, etc).
       - A Book on C by Kelley/Pohl (Benjamin Cummings).  Like
         _Practical C_, this book doesn't really cover OS-specific
	 stuff; it makes some allusions to reading directories and
	 such but doesn't provide any examples.  It provides some
	 information about pointers and linked structures but doesn't
	 go in depth with implementation details.
       - The C Programming Language or "The C Bible" by Kerningham and
         Ritchie (publisher forgotten).  If you intend to work with C
	 and you need a little bit of direction, some algorithms to
	 get started with, lots of Unixisms (stat'ing files, reading
	 directories, file I/O, etc), and a huge number of Unix (C)
	 functions and their parameters/return values, I'd definitely
	 suggest getting this book.  I think that it's in 2nd edition.

-- 
Nate Patwardhan, System Administrator
O'Reilly and Associates
nvp@oreilly.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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