compare strings, strcmp

Dan Mick dan at charyb.COM
Thu Nov 16 20:35:16 AEST 1989


In article <11605 at smoke.BRL.MIL> gwyn at brl.arpa (Doug Gwyn) writes:
>#define	StrEq( a, b )	(*(a) == *(b) && strcmp( a, b ) == 0)	/* UNSAFE */

Why the UNSAFE comment?  This looks like utterly standard C to me...
-- 
.sig files are idiotic and wasteful.



More information about the Comp.lang.c mailing list