3 ms·
Notably, the POSIX Threads API itself (i.e. pthread_ routines) returns errors directly rather than through errno.
by wahern 1y ago
Notably, the POSIX Threads API itself (i.e. pthread_ routines) returns errors directly rather than through errno.
- JdeBP 1y agoIt was a common design of new operating system APIs, not encumbered by PDP-11 compatibility, in the 1980s. * https://tty0.social/@JdeBP/114816928464571239 https://tty0.social/@JdeBP/114816928464571239 Even some of the later augmentations in MS/PC/DR-DOS did things like return an error code in AX and the result in (say) CX instead of using AX and CF.