Close Menu
    Facebook X (Twitter) Instagram
    Command Linux
    • About
    • How to
      • Q&A
    • OS
      • Windows
      • Arch Linux
    • AI
    • Gaming
      • Easter Eggs
    • Statistics
    • Blog
      • Featured
    • MORE
      • IP Address
      • Man Pages
    • Write For Us
    • Contact
    Command Linux
    Home - man page - WCSCMP

    WCSCMP

    WillieBy WillieMay 5, 2026Updated:May 5, 2026No Comments1 Min Read
     

    NAME

    wcscmp – compare two wide-character strings  

    SYNOPSIS

    #include <wchar.h>
    
    int wcscmp(const wchar_t *s1, const wchar_t *s2);
    
     

    DESCRIPTION

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

    RETURN VALUE

    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].  

    ATTRIBUTES

     

    Multithreading (see pthreads(7))

    The wcscmp() function is thread-safe.  

    CONFORMING TO

    C99.  
    Willie
    • Website

    Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.

    Related Posts

    SYSCALLS

    May 5, 2026

    GVFS-LS

    May 5, 2026

    USERDEL

    May 5, 2026

    SBRK

    May 5, 2026
    Top Posts

    UNLINK

    March 25, 2026

    IPTRAF

    April 24, 2026

    Why Arch Linux Is Best Advanced Users

    January 30, 2026

    Git Usage Statistics On Linux Vs Other Platforms Statistics 2026

    March 5, 2026
    • Home
    • Contact Us
    • Privacy Policy
    • Terms of Use

    Type above and press Enter to search. Press Esc to cancel.