4.4BSD/usr/share/man/cat3/strcoll.0

Compare this file to the similar file:
Show the results in this format:

STRCOLL(3)                  BSD Programmer's Manual                 STRCOLL(3)

NNAAMMEE
     ssttrrccoollll - compare strings according to current collation

SSYYNNOOPPSSIISS
     ##iinncclluuddee <<ssttrriinngg..hh>>

     _i_n_t
     ssttrrccoollll(_c_o_n_s_t _c_h_a_r _*_s_1, _c_o_n_s_t _c_h_a_r _*_s_2);

DDEESSCCRRIIPPTTIIOONN
     The ssttrrccoollll() function lexicographically compares the null-terminated
     strings _s_1 and _s_2 according to the current locale collation and returns
     an integer greater than, equal to, or less than 0, according as _s_1 is
     greater than, equal to, or less than _s_2.

SSEEEE AALLSSOO
     bcmp(3),  memcmp(3),  setlocale(3),  strcasecmp(3),  strcmp(3),
     strxfrm(3)

SSTTAANNDDAARRDDSS
     The ssttrrccoollll() function conforms to ANSI C X3.159-1989 (``ANSI C '').

4.4BSD                           June 4, 1993                                1