delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/06/14/11:39:47

Date: Mon, 14 Jun 1999 17:39:15 +0200 (METDST)
Message-Id: <199906141539.RAA01441@tyr.diku.dk>
From: Morten Welinder <terra AT diku DOT dk>
To: eliz AT is DOT elta DOT co DOT il
CC: djgpp-workers AT delorie DOT com
In-reply-to: <Pine.SUN.3.91.990614164100.18221A-100000@is> (message from Eli
Zaretskii on Mon, 14 Jun 1999 16:42:21 +0300 (IDT))
Subject: Re: strtol
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990614164100 DOT 18221A-100000 AT is>
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

It should work, but don't forget strtod, strtoul, ...
Basically, just grep for isspace, isdigit, isal, and so on.

The easiest fix typically is to make the string "unsigned char *".
(Or copy it into such a local pointer if it happens to be the
argument.)

Morten

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019