On Wed, Aug 08, 2001 at 11:09:52AM -0400, Adam Di Carlo wrote:
> 
> No, it returns -1 for error, 1 for match, and 0 for no match.  

No, Eduard was right

DESCRIPTION
       The  strcmp() function compares the two strings s1 and s2.
       It returns an integer less than, equal to, or greater than
       zero  if  s1  is  found, respectively, to be less than, to
       match, or be greater than s2.

       The strncmp() function is similar, except it only compares
       the first n characters of s1.

Marcin
-- 
Marcin Owsiany <[EMAIL PROTECTED]>
http://student.uci.agh.edu.pl/~porridge/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to