Message-Id: <2.2.32.19970216145802.0069b71c@mailhost> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Sun, 16 Feb 1997 12:58:02 -0200 To: abarak AT iil DOT intel DOT com (Amit Barak) From: Eyal Ben-David Subject: Re: strcmp("anything",NULL) -> error ?? Cc: djgpp AT delorie DOT com >it seems that calling 'strcmp(..)' with one of its arguments equals >a null pointer causes run-time error (Page fault) > >is this normal behavior (compared to other compilers) ? > Yes. there is no checks for null in strcmp, strlen, etc. This is true in other compilers also.