Philippe Houdoin
58a5c4bb6e
Rollback to original xBSD DNS resolver implementation _res global variable name.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-19 00:10:13 +00:00
Niels Sascha Reedijk
3ffe393cd6
Fix an issue where the _res symbol is undeclared due to another symbol with
...
the same name somewhere else( I think). At least it works now.:
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-18 19:01:09 +00:00
Axel Dörfler
0f3a75138a
Our endian.h header was still missing. Defines constants to determine the
...
platform's endian.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-17 15:26:18 +00:00
Axel Dörfler
1df8b22cb1
I don't know yet *why*, but the build fails when this header is guarded
...
against reinclusion - possibly because GCC's stdarg.h act differently
when certain symbols are defined.
Anyway, that fixes the issue for now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 16:14:12 +00:00
Axel Dörfler
035aa55650
Our stdarg.h header will now directly include the provided GCC header (and
...
don't do anything else anymore).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-11 02:58:23 +00:00
Axel Dörfler
6eb83f74ed
Added prototype for the GNU strchrnul() call.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:06:48 +00:00
Axel Dörfler
f924ff50f5
Added the public pthread header - right now, only support for mutex and
...
mutexattr is there, and the header reflects this.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-20 18:53:11 +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
e20d245cfd
Added some common limits (ULLONG_MAX, LLONG_MIN/MAX, OFF_MIN/MAX).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-14 17:34:59 +00:00
Stefano Ceccherini
843571810d
Removed dependancies from be_setup.h (since we don't have this header in our repository)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-14 07:56:22 +00:00
Axel Dörfler
79d76063c3
Added stdio post/pre includes for our BeOS compatible stdio implementation.
...
stdio.h will follow later (the headers are currently unused).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-11 19:37:58 +00:00
Philippe Houdoin
e803870545
Forgot to commit these... Should fix network stuff build issues.
...
Add again the load_driver_symbols() export into our KernelExport.h, as it's expected
by many kernel add-ons (drivers, modules)... the network ones, for a start.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-09 21:05:37 +00:00
Stefano Ceccherini
3e194a0eeb
Added termios.h header
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-22 16:48:04 +00:00
Axel Dörfler
909f4951dd
Added our dlfcn.h header - the RTLD_xxx constants may change, though.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:15:49 +00:00
Axel Dörfler
717eabde1f
Added comments to the fields of the dirent structure. Most important one
...
is d_reclen which points out that this field is not the name length but
the one of the whole record (this is also handled incorrectly by the kernel
file systems right now).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-29 02:49:58 +00:00
Daniel Reinhold
14bc22fb88
some cleanup and reorganization:
...
- the inline functions I introduced earlier have been removed
- the notes about non-Posix extensions to the sigaction struct have been
updated, enlarged, and moved out of the way (near the bottom of the file)
- all the function prototypes have been collected and placed together
- a few more items have been commented
- in general, the organization of the whole file should be more tidy now (I hope)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-18 07:24:07 +00:00
Daniel Reinhold
c69a62db20
several fixups:
...
a new typedef for signal handlers - sig_func_t
(the old one is kept around for backwards compatibility)
a new macro MAX_SIGNO to get rid of magic 32's all about
two more functions (sigemptyset and sigfillset) are now
defined inline as well
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-17 04:43:13 +00:00
Axel Dörfler
2935bff656
Added utime.h.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-15 22:34:27 +00:00
Ingo Weinhold
8a425955c5
The header is now compatible with R5's libroot.so.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-15 17:37:55 +00:00
Philippe Houdoin
f0ad00a244
Remove once again a global variable (protocols list) declaration from a header!
...
Plus remove unrequired _KERNEL_MODE code switch.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 23:40:03 +00:00
Axel Dörfler
350117ec51
Removed the "const" in the return value of strerror() to be POSIX compliant.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-01 02:58:34 +00:00
Philippe Houdoin
7d31ea94fb
Add missing extern "C" enclosures.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-01 02:54:42 +00:00
Philippe Houdoin
5c3421e490
rtstat and rt_tables global variables were declared EACH time route.h was included.
...
There're now only defined here via extern, and declared in
/current/src/add-ons/kernel/network/core/route.c where they belong.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-01 02:53:49 +00:00
beveloper
2f344cad19
some more clean up and renaming
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 20:59:25 +00:00
Axel Dörfler
2dc3fee59d
Nicer parameter names in sys/select.h.
...
Added a comment in sys/time.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 02:28:09 +00:00
beveloper
42415555d3
after many changes, the network stack can now be build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 01:21:54 +00:00
beveloper
c16715cb44
removed
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 20:15:21 +00:00
beveloper
890892471a
moved some things into private/net_socket.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 20:11:48 +00:00
beveloper
8b7eabec3f
moved
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 20:05:41 +00:00
Axel Dörfler
b9db114e51
The pollfd fields events & revents had the wrong size (int instead of short).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 05:39:54 +00:00
Axel Dörfler
b026d723ba
Made the POLLxxx constants compatible with the ones used internally in
...
the VFS - BeOS don't have poll() at all, so we can freely choose them.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 03:36:14 +00:00
Axel Dörfler
03360f3bb7
Added our versions of BeOS compatible sys/timeb.h, and sys/times.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 00:46:31 +00:00
Axel Dörfler
f93086c8b2
Completed the poll.h header file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 18:46:30 +00:00
Axel Dörfler
f647a9d57c
Added struct timespec, and struct itimerspec to time.h.
...
Added missing typedefs (suseconds_t, useconds_t).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 18:36:26 +00:00
Axel Dörfler
d068515fcb
Completed sys/select.h, renamed the howmany() macro to _howmany() - now
...
also contains the pselect() prototype.
Added new header file sys/time.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 18:34:45 +00:00
Axel Dörfler
493130b326
Fixed and cleaned up select.h.
...
Exports now the prototype correctly in C++.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 17:49:41 +00:00
Daniel Reinhold
79362df9f7
added macros PI and PI2, and fixed previous (invalid) references to these
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 01:36:45 +00:00
Daniel Reinhold
55f572b311
moved math.h from headers/private/kernel to headers/posix
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 20:49:33 +00:00
lillo
343b352fe1
Signals, 2nd pass: syscall restarting now only works on EINTR (removed other exotic retcodes like ERESTARTSYS); signal handlers now receive 3 args, and the vregs struct is used to save the signal context, making the system beos compatible.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 13:31:22 +00:00
beveloper
702a9e2e58
added C++ header guards
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 13:22:40 +00:00
beveloper
23f9ab0a7d
fixed the extern "C" header guards, it must read __cplusplus, not _cplusplus.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 13:07:30 +00:00
Axel Dörfler
a3b20c0fa9
Added a locale.h header file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 00:35:43 +00:00
Axel Dörfler
0f1aeae76c
Added inttypes.h (includes stuff like int8_t typedef), but it's not complete;
...
the strtoimax() functions and friends are missing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 00:35:08 +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
beveloper
15750026e0
added C++ header guards
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 15:13:00 +00:00
beveloper
37514a9358
added <netinet/in.h> include and C++ header guards
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 15:12:41 +00:00
beveloper
8fcf577e24
Fixed a strange, and hard to find bug.
...
extern "C" {
was not terminated.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 14:43:27 +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
Daniel Reinhold
8c75beefbf
initial checkin
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-24 19:52:59 +00:00