X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f From: Kbwms AT aol DOT com Message-ID: <78.4a151563.2cdff625@aol.com> Date: Sun, 9 Nov 2003 14:57:25 EST Subject: Re: C99 Functions Under Development and Checkout To: djgpp-workers AT delorie DOT com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="part1_78.4a151563.2cdff625_boundary" X-Mailer: 8.0 for Windows sub 6021 Reply-To: djgpp-workers AT delorie DOT com --part1_78.4a151563.2cdff625_boundary Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In a message dated 11/8/2003 7:09:46 AM Eastern Standard Time, rich AT phekda DOT freeserve DOT co DOT uk writes: > This are functions internal to libc. They should be prefixed with "__", to > avoid polluting the global namespace. They should also go in the not-ANSI, > not-POSIX section of . > > I'd also suggest that set_errno and raise_except are renamed. Here are the new names of the functions in errhndlr.c: int __set_math_errhandling(int Value); int __get_math_errhandling(void); void __math_set_errno(int Value); int __fp_raise_except(int Value); KB Williams --part1_78.4a151563.2cdff625_boundary Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable In a message dated 11/8/2003 7:09:46 AM Eastern Standard= Time, rich AT phekda DOT freeserve DOT co DOT uk writes:

This are functions internal to libc. They should be prefixe= d with "__", to
avoid polluting the global namespace. They should also go in the not-ANSI, not-POSIX section of <math.h>.

I'd also suggest that set_errno and raise_except are renamed.
<= BR>
Here are the new names of the functions in errhndlr.c:

int        __set_math_errhandling(int Value);=
int        __get_math_errhandling(void);
void          __math_set_errno(= int Value);
int        __fp_raise_except(int Value);


KB Williams
--part1_78.4a151563.2cdff625_boundary--