haiku/headers/posix
Ingo Weinhold 404a0fea46 Second stab at reorganizing standard/gcc headers. This time it not only
builds on Linux with gcc 2 and 4, but the images do even run. :-) Not
tested on BeOS.

* Removed stddef.h and stdarg.h. They are provided by the compiler.
* Adjusted size_t.h, wchar_t.h, and wchar.h accordingly.
* Made stdio.h avoid gcc 2.95.3's fixincludes hack stdio_va_list
* Added gcc 2.95.3 headers to the repository. They are used instead of
  the headers of the gcc 2.95.3's we use to compile Haiku with. Should
  avoid build problems with the BeOS native compiler.

For sake of personal recreation you can rebuild the cross gcc 2.95.3,
but the only thing that changed is its header directory
(lib/gcc-lib/.../include), which isn't used anymore. Replacing it with
headers/build/gcc-2.95.3 should have the same effect as rebuilding, BTW.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-16 17:21:37 +00:00
..
arch tag warnings with M68K: 2007-10-25 12:43:05 +00:00
arpa replaced size_t with socklen_t where appropriate following POSIX 2007-01-08 20:57:28 +00:00
net added IFM_AUTO to if_media and ifconfig. 2007-05-07 05:28:55 +00:00
netinet * int32_t, uint32_t are now of type "int", and no longer of type "long". 2007-10-21 20:10:43 +00:00
netinet6 * Removed superfluous prototypes from in.h. Minor cleanup. 2006-12-18 17:12:54 +00:00
sys * Implemented flock() semantics to the advisory locking backend. Not tested 2008-02-03 15:37:31 +00:00
alloca.h Some header work to make it more posix compliant. 2003-04-19 17:35:55 +00:00
assert.h Added a BeOS compatible assert.h. 2004-06-30 02:34:10 +00:00
bsd_mem.h Merged changes from branch build_system_redesign at revision 14573. 2005-10-29 16:27:43 +00:00
ctype.h Use -I instead of -isystem for system header directories when building 2007-03-14 20:36:42 +00:00
dirent.h added two missing functions : seekdir and telldir 2005-11-04 16:13:13 +00:00
div_t.h Made stdlib.h almost compatible to BeOS. 2002-10-25 22:02:50 +00:00
dlfcn.h Added our dlfcn.h header - the RTLD_xxx constants may change, though. 2003-01-12 16:15:49 +00:00
endian.h Add m68k to the big endian family. 2007-10-25 00:36:36 +00:00
errno.h The header is now compatible with R5's libroot.so. 2002-11-15 17:37:55 +00:00
fcntl.h * Implemented flock() semantics to the advisory locking backend. Not tested 2008-02-03 15:37:31 +00:00
fnmatch.h Added headers for fnmatch, glob, and pwd stuff. 2002-10-06 23:47:13 +00:00
getopt.h Added a BeOS compatible header for the GNU getopt() extensions. 2004-09-14 20:56:37 +00:00
glob.h Added headers for fnmatch, glob, and pwd stuff. 2002-10-06 23:47:13 +00:00
grp.h * Added BSD's FD_COPY() macro (it's not POSIX, though). 2008-02-02 17:32:01 +00:00
iconv.h must include size_t for iconv 2003-07-31 00:57:04 +00:00
inttypes.h Added printf()/scanf() type definitions, courtesy of Curtis Wanner - thanks 2008-02-21 00:08:03 +00:00
iovec.h another small file for compatibility reasons 2002-10-23 19:35:15 +00:00
libio.h Added separate libio header (since some C++ headers are needing it) - still messy. 2004-05-03 09:29:27 +00:00
limits.h * Added BSD's FD_COPY() macro (it's not POSIX, though). 2008-02-02 17:32:01 +00:00
locale.h Added a locale.h header file. 2002-10-26 00:35:43 +00:00
malloc.h * Implemented a simple version of the private function mstats() (BeIDE needs it). 2006-03-14 23:15:57 +00:00
math.h Define HUGE_VAL in <math.h> conditionally. That's what gcc's fixincludes 2008-03-16 16:39:06 +00:00
memory.h Merged changes from branch build_system_redesign at revision 14573. 2005-10-29 16:27:43 +00:00
netdb.h replaced size_t with socklen_t where appropriate following POSIX 2007-01-08 20:57:28 +00:00
nl_types.h Some header work to make it more posix compliant. 2003-04-19 17:35:55 +00:00
null.h a few new headers for compatibility 2002-10-23 18:47:12 +00:00
poll.h The pollfd fields events & revents had the wrong size (int instead of short). 2002-10-29 05:39:54 +00:00
pthread.h added pthread_once() implementation and tests 2007-12-07 21:02:59 +00:00
pwd.h Added headers for fnmatch, glob, and pwd stuff. 2002-10-06 23:47:13 +00:00
regex.h Missing header file, required to build src/apps/bin/grep-2.5 and it's, indeed, 2004-05-12 22:47:31 +00:00
resolv.h Merge of branches/team/network/new_stack - not yet complete as SVN does only support 2006-08-08 12:33:33 +00:00
search.h added search.h 2008-02-24 13:41:01 +00:00
setjmp.h Add m68k to the big endian family. 2007-10-25 00:36:36 +00:00
signal.h Patch by Vasilis Kaoutsis (modified by myself): Implemented sigset(). 2007-11-18 16:39:18 +00:00
size_t.h Second stab at reorganizing standard/gcc headers. This time it not only 2008-03-16 17:21:37 +00:00
stdbool.h GCC 3 conforms to ISO-C-99 so _Bool is a built-in type; we should not try to redefine it. 2005-04-13 16:51:55 +00:00
stdint.h added SIZE_MAX to stdint.h 2008-02-23 22:31:19 +00:00
stdio_post.h Removed all inline functions. 2004-09-08 16:22:28 +00:00
stdio_pre.h Use -I instead of -isystem for system header directories when building 2007-03-14 20:36:42 +00:00
stdio.h Second stab at reorganizing standard/gcc headers. This time it not only 2008-03-16 17:21:37 +00:00
stdlib.h * Added gcvt() implementation - this fixes bug #1757. 2008-02-06 17:11:02 +00:00
string.h Added memccpy() - not there in BeOS, but part of the POSIX specs. 2005-10-31 12:18:55 +00:00
strings.h Added our string.h headers (the one in private/kernel will be removed now) 2002-09-17 14:51:59 +00:00
syslog.h Added BSD extension vsyslog() - is also found on Linux. 2008-02-03 15:31:16 +00:00
termios.h tcsetpgrp() and tcgetpgrp() are actually defined in unistd.h, not termios.h. 2005-03-26 14:41:30 +00:00
time.h added an implementation for nanosleep() based on snooze() 2007-09-25 19:18:27 +00:00
unistd.h * Added real, effective and saved set- user and group IDs to the team 2008-03-11 17:12:02 +00:00
utime.h Minor style change. 2004-07-05 23:20:43 +00:00
wchar_t.h Second stab at reorganizing standard/gcc headers. This time it not only 2008-03-16 17:21:37 +00:00
wchar.h Second stab at reorganizing standard/gcc headers. This time it not only 2008-03-16 17:21:37 +00:00
wctype.h wctype_t is already defined in wchar.h which is included 2006-05-03 13:39:23 +00:00