Commit Graph

9 Commits

Author SHA1 Message Date
Axel Dörfler
dfd5242e7f Even though Korli beat me, I've updated the posix_memalign() function to be more standards
compliant:
* it now checks the alignment is a multiple of 4 (needs to be changed for 64 bit architectures)
* it no longer sets errno.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-16 10:04:44 +00:00
Jérôme Duval
bf7beb500c added posix_memalign()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-16 09:19:56 +00:00
Axel Dörfler
558885f395 Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-06 07:04:34 +00:00
Jérôme Duval
a34963f388 added posix_gnu_string
added more posix definitions


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-16 11:09:43 +00:00
shatty
7626aaf1a5 fixed unsetenv prototype to match posix standard
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 04:55:14 +00:00
Axel Dörfler
f8fdd89ffb Some header work to make it more posix compliant.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-19 17:35:55 +00:00
Axel Dörfler
88222a7539 "template" is obviously a reserved word in C++...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 00:06:00 +00:00
Axel Dörfler
617c98ba68 Made stdlib.h almost compatible to BeOS.
Removed deprecated strtoq() functions (they are not even part of BeOS, so
why should we include this cruft?).
Added prototypes for llabs(), and lldiv() - added lldiv_t to div_t.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 22:02:50 +00:00
Daniel Reinhold
2917ddc323 replaced stdlib.h in 'headers/private/kernel' with a better one in the more standard location 'headers/posix'
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 11:50:13 +00:00