TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: david nugent
from: Paul Edwards
date: 1996-04-24 00:01:36
subject: Function args

dn>     foo(T_long, 983985L, T_ptr, (void*)NULL, T_end);

dn> (note the cast on NULL is just a precaution and not necessary - except, of 
dn> course, for portability - if either your compiler #define's NULL to be 
dn> (void*)0, or #define'd as 0 and sizeof(int)==sizeof(void*)).

I thought NULL was guaranteed to be a valid pointer, no need for
the (void *) typecast?  It's only 0 that needs a typecast.  
BFN.  Paul.
@EOT:

---
* Origin: X (3:711/934.9)

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