Dragonfly: expose __errno_location() rather than define __error().
Expose __errno_location() (introduced in DragonFlyBSD 5.8), which returns the current thread's errno value. This is similar to Linux and avoids having a separate module that defines both errno (which depends on the thread_local feature) and an __error() function.
Loading
Please register or sign in to comment