Date: Sun, 30 Oct 94 16:37:02 -0500 From: dj AT stealth DOT ctron DOT com (DJ Delorie) To: tony AT nt DOT tuwien DOT ac DOT at Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: strcat() ? > I would like to know what > > strcat(a, b); > > should do when b happens to be NULL. It *should* cause a code fault, stack trace, and immediate exit to DOS, since you're accessing memory that is off limits. You won't get this under DPMI though because of the way DPMI memory is set up. Passing NULL to strcat is illegal.