History log of /dflybsd-src/lib/libc/gen/__errno_location.c (Results 1 – 2 of 2)
Revision Date Author Comments
# 139290c5 12-Oct-2019 Sascha Wildner <saw@online.de>

libc/__errno_location: Fix indent.


# 60d31138 05-Oct-2019 zrj <rimvydas.jasinskas@gmail.com>

libc: Add __errno_location() for language binding benefits.

Some languages have restrictions when it comes to C style TLS handling
(thread local might be feature-gated) or simply it is inconvenien

libc: Add __errno_location() for language binding benefits.

Some languages have restrictions when it comes to C style TLS handling
(thread local might be feature-gated) or simply it is inconvenient to
add various OS specific binding wrappers just to access C errno values.

The __errno_location() symbol provides externally callable version of
__error() inline function.

While there, add __WANT_NO_INLINED___ERROR guard for few python parsers
in DPorts that are unable to parse inlined __error() code yet.

show more ...