TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: DARIN MCBRIDE
from: TOM TORFS
date: 1998-03-18 13:26:00
subject: atoi(const char .s)

Darin McBride wrote in a message to Simon Law:
 DM> char* sTemp = malloc(TEMP_LEN) * sizeof(char)); /* 
 DM> Woops - make that "malloc(TEMP_LEN * sizeof(char))" - had an extra
 DM> parenthesis there.  :-)
Even easier is to make that malloc(TEMP_LEN), as sizeof(char)==1.
greetings,
Tom
tomtorfs@village.uunet.be
--- timEd/2 1.10+
---------------
* Origin: 80X86 BBS 32-15-24.62.32 V.34/V.FC (24h/24h) (2:292/516)

SOURCE: echomail via exec-pc

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™.