Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jan 2001 12:19:11 +1100
From:      "Geoffrey Crompton (RMIT Guest)" <ghcrompton@gecko.eric.net.au>
To:        FreeBSD-Questions <freebsd-questions@freebsd.org>
Subject:   programming in freebsd related questions
Message-ID:  <20010110121911.A29635@gecko.eric.net.au>

next in thread | raw e-mail | index | archive | help
  I've just started to do some programing in freebsd, and I've found a few
things that I'm unsure about.

  When I #include things like sys/socket.h and netinet/in.h, I get heaps
of compiler errors, unless I do a #include <sys/types.h> before I #include
the others. Why is that?

  Also, I've noticed multiple copies of socket.h, sitting in /usr/src/sys,
and /usr/include. I think that /usr/src is where the kernel all get's built
from. Does the make build/installworld process copy all the header
files that a user application might want over to the /usr/include area?
If I'm hunting through header files for definitions, which ones should I use?

  And finally, is there a better mailing list for these questions, or am
I on the right one?


  Thanks!
  Geoff Crompton


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?20010110121911.A29635>