develooper Front page | perl.perl5.porters | Postings from January 2001

Re: [PATCH] pod/perlclib.pod - Replacements for C library functions

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
January 31, 2001 07:37
Subject:
Re: [PATCH] pod/perlclib.pod - Replacements for C library functions
Message ID:
20010131153740.E76607@plum.flirble.org
On Wed, Jan 31, 2001 at 03:26:57PM +0000, Simon Cozens wrote:
> On Wed, Jan 31, 2001 at 02:09:44PM +0000, Nicholas Clark wrote:
> > I don't think we're warning in any way for the case where the user configures
> > with long doubles, but we can't fake a long double Atof:
> > [snip]
> > By "should" I mean anything that can go wrong will go wrong
> > We cannot be 100% certain that we have Strtol and Strtoul defined, but if
> > you don't have them, it's probably the least of your problems
> > [you've probably already been told to find an ANSI compiler]
> 
> Excuse me being stupid again, but... does that mean what I've written
> needs to change, and if so how?

Sorry to forget something and be unclear (again)

Should have added "If I could think of a terse way to express that for the
document I would"

Hmm. How about

In theory Strtol and Strtoul may not be defined if the machine perl is built
on doesn't actually have strtol and strtoul. But as those 2 functions are part
of the 1989 ANSI C spec we suspect you'll find them everywhere by now.


Not sure how to word "stuff may all go pear shaped if perl is configured with
long doubles or long longs"

Nicholas Clark

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About