Re: [AD] excustom change + d_edit_proc

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Tue, Jun 03, 2003 at 02:27:17PM +0200, Elias Pschernig wrote:
> Sure. Just about the "NULL" - is there really a NULL-pointer as well as 
> a NULL-character? I always found this confusing, because they are two 
> different things.. OTOH, str[strlen (str)] = NULL; works, so I guess it 
> makes sense..

Both NULL and '\0' are normally just the binary value 0, so you can usually
interchange them. Not that it's pretty though. It could also (in principle)
fail on other platforms.

Evert




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/