Commit Graph

164 Commits

Author SHA1 Message Date
Axel Dörfler
d8b0b6fe51 Added readdir_r() function prototype. Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 23:08:21 +00:00
Axel Dörfler
5e2d8bb9f7 Added a BeOS compatible header for the GNU getopt() extensions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 20:56:37 +00:00
Axel Dörfler
c654468395 Cleaned up the stdint.h header.
Separated macros from the typedefs, removed macros for unsigned minima as
these are not part of the standard.
Added intptr_t/uintptr_t types. Added some comments what those types stand for.
Added a note that this header is mostly compiler/arch specific and should
be handled (adapted) like this.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-11 18:31:36 +00:00
Axel Dörfler
1c448f3551 Removed all inline functions.
Also no longer let getc()/putc() point to libio functions directly (they
were even only macros there, too...).
Should now be backwards compatible, too. Thanks to Waldemar for pointing this out!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-08 16:22:28 +00:00
Waldemar Kornewald
496d0bc32f Moved uio struct to core_private.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-08 08:45:32 +00:00
Waldemar Kornewald
15288c9013 Fixed the build of our netstack.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-05 10:59:00 +00:00
Axel Dörfler
77a6c2446a We now have a POSIX and BeOS compatible grp.h header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 01:04:55 +00:00
Axel Dörfler
ef552d5eab Added names for the parameters.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 01:03:51 +00:00
Axel Dörfler
336ffbcd04 Unlike alarm(), ualarm() has actually two arguments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 23:45:54 +00:00
Axel Dörfler
cc90b1798a Removed unsupported cruft from uio.h (uiomove()).
Made header C++ safe.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 16:26:15 +00:00
Philippe Houdoin
15b8f34b6f These size_t arguments should be, well, according to POSIX, socklen_t,
but Be declared them as int. So do I.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-14 00:22:33 +00:00
Axel Dörfler
c3d35103c7 Added siginfo_t structure as required by ISO-C 99 - it's not yet used, though.
Smaller style cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-07 12:48:27 +00:00
Axel Dörfler
288ff1988f Added new BeOS compatible wait.h header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-07 12:47:00 +00:00
Axel Dörfler
95216cc886 Added id_t as required by POSIX/ISO-C 99.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-07 12:46:08 +00:00
Axel Dörfler
13fde991bd Added BeOS compatible ctype.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-06 00:29:52 +00:00
Axel Dörfler
8294b54830 Minor style change.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 23:20:43 +00:00
Axel Dörfler
b3f4b2ea49 Added a BeOS compatible assert.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-30 02:34:10 +00:00
Axel Dörfler
da4a7ba49b wchar_t is already defined in C++ with GCC 3 - this fixes the build for that compiler.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-23 15:17:06 +00:00
Philippe Houdoin
fe09bb12a1 Remove non-POSIX sys/cdefs.h & co dependency.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 00:56:00 +00:00
Philippe Houdoin
399761740c Remove non-POSIX sys/cdefs.h dependency.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 00:48:55 +00:00
Philippe Houdoin
38c2785626 Missing header file, required to build src/apps/bin/grep-2.5 and it's, indeed,
required by POSIX 1003.1g.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-12 22:47:31 +00:00
Axel Dörfler
071c01b136 This should fix the R5 build again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 23:00:42 +00:00
Axel Dörfler
94e11a83bb Fixes POSIX and R5 compatibility of the stat structure; readded field st_rdev.
Added an additional field st_type and changed functions to allow for this
extension while maintaining R5 compatibility.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 14:35:11 +00:00
Axel Dörfler
c757aac399 Added BeBuild.h in a central header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-05 16:21:44 +00:00
Axel Dörfler
10d0c89786 Added a new and BeOS compatible public stdio.h header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 12:20:52 +00:00
Axel Dörfler
1062a34eae Added separate libio header (since some C++ headers are needing it) - still messy.
Cleaned up stdio_{pre|post}.h headers.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 09:29:27 +00:00
Philippe Houdoin
a1269ea0d9 Moved to /private/net. Not POSIX-standard headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-25 23:06:36 +00:00
Philippe Houdoin
3fb2d6f43a Moved to headers/private/net, as they're not standard POSIX headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-25 23:03:19 +00:00
Waldemar Kornewald
e09429df45 Removed unneeded constants.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-18 13:12:15 +00:00
Waldemar Kornewald
f1730f62f5 Fixed collision between SO_XXX and IP_XXX defines.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-18 12:46:10 +00:00
Waldemar Kornewald
fde2fe1c1c Checking in headers for libbind.so.
Also updated our socket.h to be more compatible with BONE (we do not support SO_NONBLOCK which is needed for Mozilla).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 15:54:34 +00:00
Waldemar Kornewald
be9443cb6e Changed address families to match bone.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-08 13:00:45 +00:00
Waldemar Kornewald
4283dfd6f6 Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-30 10:51:50 +00:00
Axel Dörfler
435464b451 Added addr_t to sys/types.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-22 19:22:09 +00:00
Axel Dörfler
190c52aac5 A BeOS compatible math.h rewritten from scratch.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-13 18:49:41 +00:00
Axel Dörfler
5c23f57060 I am not sure why I did those, but I guess it has something to do with doxygen.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-23 03:52:08 +00:00
Philippe Houdoin
f8d0ea9641 Fix the h_errno issue of this thread-safe global variable, thanks to Thread Local Storage.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 23:34:21 +00:00
Philippe Houdoin
74a1787535 Remove ether_driver.h API from the should-be-POSIX-only if.h.
Still some sem_id depedency, thought. Will be split into private and posix files soon.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6038 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-12 23:55:04 +00:00
shatty
0cb1c46a46 add header protection, and two posix compliant prototypes that are provided by R5 libroot.so
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 07:37:08 +00:00
Philippe Houdoin
9af57a10a9 Now private sys/socketvar.h header is no more included.
Non-clean hack: include os-specific OS.h to get sem_id and thread_id types defined.
Should clean up this whole file one day, thought.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-01 13:15:03 +00:00
Axel Dörfler
f0e6952fc8 Added comments to LOG_SERIAL and LOG_PERROR.
Note, LOG_SERIAL does neither work in our implementation, nor in the original
implementation by Be.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 03:30:21 +00:00
Axel Dörfler
fa2f787a47 Added some comments and fixed LOG_AUTHPRIV.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 16:33:11 +00:00
Axel Dörfler
94849cc617 Our new syslog.h. Note, this one might break source compatibility, as I
don't define some (unneeded) macros, and LOG_TMID & LOG_THID are gone
(they were specified to be the same as LOG_PID).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 14:40:45 +00:00
Axel Dörfler
40df5bb2e8 flock() is neither POSIX, nor available in BeOS.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-06 00:15:54 +00:00
Axel Dörfler
f175a63eaa Added prototype for strerror_r().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-05 23:52:25 +00:00
Waldemar Kornewald
8c911f6ce6 h_errno is now declared in each file that uses it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-17 13:57:33 +00:00
Waldemar Kornewald
0fe962a8b1 Last modification was wrong. The declaration of h_errno was needed to compile libnet.so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-16 18:45:59 +00:00
Waldemar Kornewald
917d6a9d1f Removed declaration of h_errno variable.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 10:12:04 +00:00
Axel Dörfler
1470102500 change variable name to better fit its purpose.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-21 15:53:54 +00:00
Axel Dörfler
051f882824 Rewrote the resource.h header and added comments about missing functions
and functionality.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-21 15:51:03 +00:00