In <bpq5hq$m1a$1@news.tudelft.nl> Sidney Cadot <sidney@jigsaw.nl> writes:
[color=blue]
>James Hu wrote:
>[color=green][color=darkred]
>>>What do "greater than", "equal to", or "less than" mean in relation to
>>>the objects pointed to by s1 or s2?[/color]
>>
>>
>> See 7.21.4 paragraph 1.
>>
>> "The sign of a nonzero value returned by the comparison functions
>> memcmp, strcmp, and strncmp is determined by the sign of the
>> difference between the values of the first pair of characters (both
>> interpreted as unsigned char) that differ in the objects being
>> compared."[/color]
>
>This text is literally no more than 5 centimeters above the text I
>quoted - emberassing.[/color]
As a general rule, don't read the individual specification of a function
*before* the paragraph(s) prefacing the respective section and subsection.
Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email:
Dan.Pop@ifh.de