Menu

Commit [r367]  Maximize  Restore  History

- Added __set_h_errno() and __get_h_errno() functions.

- The thread-safe library now tries to enable bsdsocket.library base
sharing and attempts to make the TCP/IP stack call the local
__set_errno() and __set_h_errno(), so that any Process calling
the library functions will get a chance to see proper error
codes. Whether any of these features could be enabled can be tested
through two global variables __can_share_socket_library_base and
__thread_safe_errno_h_errno which are defined in <dos.h>. Note that
for both features to work you will need the Roadshow bsdsocket.library
version 4.275 or higher.

obarthel 2005-10-17

changed /trunk/library/GNUmakefile.68k
changed /trunk/library/GNUmakefile.os4
changed /trunk/library/changes
changed /trunk/library/include/dos.h
changed /trunk/library/smakefile
added /trunk/library/socket_get_h_errno.c
changed /trunk/library/socket_headers.h
changed /trunk/library/socket_init_exit.c
added /trunk/library/socket_set_h_errno.c
/trunk/library/GNUmakefile.68k Diff Switch to side-by-side view
Loading...
/trunk/library/GNUmakefile.os4 Diff Switch to side-by-side view
Loading...
/trunk/library/changes Diff Switch to side-by-side view
Loading...
/trunk/library/include/dos.h Diff Switch to side-by-side view
Loading...
/trunk/library/smakefile Diff Switch to side-by-side view
Loading...
/trunk/library/socket_get_h_errno.c Diff Switch to side-by-side view
Loading...
/trunk/library/socket_headers.h Diff Switch to side-by-side view
Loading...
/trunk/library/socket_init_exit.c Diff Switch to side-by-side view
Loading...
/trunk/library/socket_set_h_errno.c Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.