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

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

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

NNAAMMEE
     ssttrrccaasseeccmmpp - compare strings, ignoring case

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

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

     _i_n_t
     ssttrrnnccaasseeccmmpp(_c_o_n_s_t _c_h_a_r _*_s_1, _c_o_n_s_t _c_h_a_r _*_s_2, _s_i_z_e___t _l_e_n);

DDEESSCCRRIIPPTTIIOONN
     The ssttrrccaasseeccmmpp() and ssttrrnnccaasseeccmmpp() functions compare the null-terminated
     strings _s_1 and _s_2 and return an integer greater than, equal to, or less
     than 0, according as _s_1 is lexicographically greater than, equal to, or
     less than _s_2 after translation of each corresponding character to lower-
     case.  The strings themselves are not modified.  The comparison is done
     using unsigned characters, so that `\200' is greater than `\0'.

     The ssttrrnnccaasseeccmmpp() compares at most _l_e_n characters.

SSEEEE AALLSSOO
     bcmp(3),  memcmp(3),  strcmp(3),  strcoll(3),  strxfrm(3)

HHIISSTTOORRYY
     The ssttrrccaasseeccmmpp() and ssttrrnnccaasseeccmmpp() functions first appeared in 4.4BSD.

4.4BSD                           June 9, 1993                                1