TIP: Click on subject to list as thread! ANSI
echo: cis.languages
to: all
from: Carl Kreider 71076,76
date: 1994-01-12 19:48:23
subject: C lib warning

#: 19583 S3/Languages
    12-Jan-94  19:48:23
Sb: C lib warning
Fm: Carl Kreider 71076,76
To: all

I found a rather nasty problem with the C V3.2 libraries.  The function
strtod(), which is called by atof(), which is called by scanf(), clobbers d6.
Now, that is not a big problem unless you happen to be using register variables
like I was.  The only solutions are to not use regiter varibles or to patch the
movem instructions to save d6 also.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.