home *** CD-ROM | disk | FTP | other *** search
-
- STRCMP(3) UNIX Programmer's Manual STRCMP(3)
-
- NNAAMMEE
- ssttrrccmmpp - compare strings
-
- SSYYNNOOPPSSIISS
- ##iinncclluuddee <<ssttrriinngg..hh>>
-
- _i_n_t
- ssttrrccmmpp(_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
- ssttrrnnccmmpp(_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 ssttrrccmmpp() and ssttrrnnccmmpp() functions lexicographically compare the null
- terminated strings _s_1 and _s_2.
-
- RREETTUURRNN VVAALLUUEESS
- The ssttrrccmmpp() and ssttrrnnccmmpp() return an integer greater than, equal to, or
- less than 0, according as the string _s_1 is greater than, equal to, or
- less than the string _s_2. The comparison is done using unsigned charac
- ters, so that `\200' is greater than `\0'.
-
- The ssttrrnnccmmpp() compares not more than _l_e_n characters.
-
- SSEEEE AALLSSOO
- bcmp(3), memcmp(3), strcasecmp(3), strcoll(3), strxfrm(3)
-
- SSTTAANNDDAARRDDSS
- The ssttrrccmmpp() and ssttrrnnccmmpp() functions conform to ANSI C3.1591989 (``ANSI
- C'').
-
- BSD Experimental June 29, 1991 1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-