haiku/headers/posix
Marcus Overhagen 20c4c9e77e Don't trust the user, and enforce the iovec limit.
Also check for negative positions smaller -1
(as -1 means using current address).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-21 19:07:10 +00:00
..
arch * Implemented [sig]{set,long}jmp() for PPC. No idea, if it is any good, 2005-12-10 22:56:52 +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 make tcphdr public, it is used by several applications. 2007-05-08 13:10:45 +00:00
netinet6 * Removed superfluous prototypes from in.h. Minor cleanup. 2006-12-18 17:12:54 +00:00
sys Support getting route information for a specific destination 2007-04-01 12:06:16 +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 Our endian.h header was still missing. Defines constants to determine the 2003-05-17 15:26:18 +00:00
errno.h The header is now compatible with R5's libroot.so. 2002-11-15 17:37:55 +00:00
fcntl.h * Added a note that the flock() definitions are misplaced here. 2007-01-06 17:25:52 +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 We now have a POSIX and BeOS compatible grp.h header. 2004-09-02 01:04:55 +00:00
iconv.h must include size_t for iconv 2003-07-31 00:57:04 +00:00
inttypes.h Added names for the parameters. 2004-09-02 01:03:51 +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 Don't trust the user, and enforce the iovec limit. 2007-08-21 19:07:10 +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 * fix ticket #1365, isinf(x) -> isinf(value) 2007-08-08 09:14:38 +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 * PTHREAD_MUTEX_INITIALIZER inits to NULL, pthread_mutex_lock now call pthread_mutex_init to support this PTHREAD_MUTEX_INITIALIZER 2006-06-21 14:07:34 +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
setjmp.h * Implemented [sig]{set,long}jmp() for PPC. No idea, if it is any good, 2005-12-10 22:56:52 +00:00
signal.h Some more work on the signal code: 2007-08-17 11:01:09 +00:00
size_t.h Removed kludge that was only necessary for building the old bfs_shell. 2007-05-04 07:59:47 +00:00
stdarg.h I don't know yet *why*, but the build fails when this header is guarded 2003-05-11 16:14:12 +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
stddef.h use __builtin_offsetof for gcc4 and superior, it avoids a gcc4 broken build with template use of offsetof() 2007-04-12 18:36:37 +00:00
stdint.h avoids a gcc warning on definition of INT32_MIN 2006-05-17 16:06:06 +00:00
stdio.h added setbuf, setvbuf, setbuffer and setlinebuf prototypes 2005-01-29 13:06:04 +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
stdlib.h Even though Korli beat me, I've updated the posix_memalign() function to be more standards 2007-08-16 10:04:44 +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 I am not sure why I did those, but I guess it has something to do with doxygen. 2004-02-23 03:52:08 +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 Changed useconds_t and suseconds_t to be "long" types instead of "long long". 2006-04-16 15:16:50 +00:00
unistd.h added an empty implementation of confstr() 2007-08-03 18:13:55 +00:00
utime.h Minor style change. 2004-07-05 23:20:43 +00:00
wchar.h Added C++ guard. I don't know, why we define the <wctype.h> protos both 2007-03-04 02:31:43 +00:00
wchar_t.h Moved mbstate to wchar.h 2005-02-22 18:06:35 +00:00
wctype.h wctype_t is already defined in wchar.h which is included 2006-05-03 13:39:23 +00:00