TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Jcoffin{at}Taeus.Com
from: Neil Heller
date: 2003-09-12 11:06:00
subject: Re: Pointers

TO: JCOFFIN{at}TAEUS.COM


JC> OTOH, if you always write it as:

JC> if ( NULL == (x=malloc(somesize)))
JC>          // allocation failed

JC> you're much less likely to forget.

I was taught that, under the threat of death, the return from malloc() 
_must always_ be cast from VOID *.  Is that no longer true?  What has 
changed?

þ CMPQwk 1.42 999

--- Maximus/2 3.01
* Origin: COMM Port OS/2 juge.com 204.89.247.1 (281) 980-9671 (1:106/2000)
SEEN-BY: 633/267 270
@PATH: 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.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™.