*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> wcscmp (3)              
Title
Content
Arch
Section
 

WCSCMP(3)

Contents


NAME    [Toc]    [Back]

       wcscmp - compare two wide-character strings

SYNOPSIS    [Toc]    [Back]

       #include <wchar.h>

       int wcscmp (const wchar_t *s1, const wchar_t *s2);

DESCRIPTION    [Toc]    [Back]

       The  wcscmp  function  is  the  wide-character equivalent of the strcmp
       function. It compares the wide-character string pointed to  by  s1  and
       the wide-character string pointed to by s2.

RETURN VALUE    [Toc]    [Back]

       The  wcscmp  function  returns zero if the wide-character strings at s1
       and s2 are equal. It returns an integer greater than  zero  if  at  the
       first  differing  position i, the corresponding wide-character s1[i] is
       greater than s2[i]. It returns an integer less  than  zero  if  at  the
       first  differing  position i, the corresponding wide-character s1[i] is
       less than s2[i].

CONFORMING TO    [Toc]    [Back]

       ISO/ANSI C, UNIX98

SEE ALSO    [Toc]    [Back]

      
      
       strcmp(3), wcscasecmp(3), wmemcmp(3)



GNU				  1999-07-25			     WCSCMP(3)
[ Back ]
 Similar pages
Name OS Title
wcsncmp Linux compare two fixed-size wide-character strings
wcscoll Tru64 Compare wide-character strings by using collation information
wcscasecmp Linux compare two wide-character strings, ignoring case
wcsncasecmp Linux compare two fixed-size wide-character strings, ignoring case
wcscoll FreeBSD compare wide strings according to current collation
wcsncat Linux concatenate two wide-character strings
wcscat Linux concatenate two wide-character strings
wcscat Tru64 Perform operations on wide-character strings
wcstok Tru64 Split wide-character strings into tokens
wcstok_r Tru64 Split wide-character strings into tokens
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service