__errno_location export

Roland McGrath roland@redhat.com
Sun Dec 1 14:08:00 GMT 2002


If you intend your port's ABI to be single-threaded only and stay that way
forever, then you should make it export errno (i.e. don't use
sysdeps/generic/errno.c, or change it to test _LIBC_REENTRANT or something).
Otherwise, you should make __errno_location and the errno macro in
bits/errno.h consistent with the existing GNU platforms.



More information about the Libc-alpha mailing list