This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: __errno_location export
- From: Roland McGrath <roland at redhat dot com>
- To: Momchil Velikov <velco at fadata dot bg>
- Cc: Jakub Jelinek <jakub at redhat dot com>, libc-alpha at sources dot redhat dot com
- Date: Sun, 1 Dec 2002 14:07:58 -0800
- Subject: Re: __errno_location export
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.