On Wed, Jan 26, 2005 at 09:19:26AM +0100, Reinhard Pagitsch wrote: > Hello Steve, > > Steve Hay wrote: > > >why is it that the following XS code outputs -25: > > > > > [code sniped] > > On my system (Windows 2000) the output is -1, as expected.
What's it documented to be? stricmp() doesn't seem to be a standard function in any standard implemented on Unix, but strcmp()'s return is stated only to be "an integer greater than, equal to, or less than 0", not specifically -1 or +1 Nicholas Clark