case(3) case(3) NNAAMMEE case - convert ASCII uppercase bytes to lowercase SSYYNNTTAAXX ##iinncclluuddee <> void ccaassee__lloowweerrss(_s); void ccaassee__lloowweerrbb(_s,_l_e_n); int ccaassee__ddiiffffss(_s,_t); int ccaassee__eeqquuaallss(_s,_t); int ccaassee__ssttaarrttss(_s,_t); int ccaassee__ddiiffffbb(_s,_l_e_n,_t); int ccaassee__ssttaarrttbb(_s,_l_e_n,_t); char *_s; char *_t; unsigned int _l_e_n; DDEESSCCRRIIPPTTIIOONN ccaassee__lloowweerrss converts each uppercase byte in the string _s to lowercase. _s must be 0-terminated. ccaassee__lloowweerrbb converts each uppercase byte in the buffer _s, of length _l_e_n, to lowercase. ccaassee__ddiiffffss lexicographically compares lowercase versions of the strings _s and _t. It returns something positive, negative, or zero when the first is larger than, smaller than, or equal to the second. _s and _t must be 0-terminated. ccaassee__eeqquuaallss means !!ccaassee__ddiiffffss. ccaassee__ssttaarrttss returns 1 if a lowercase version of _s starts with a lower- case version of _t. _s and _t must be 0-terminated. ccaassee__ddiiffffbb lexicographically compares lowercase versions of the buffers _s and _t, each of length _l_e_n. It returns something positive, negative, or zero when the first is larger than, smaller than, or equal to the second. ccaassee__ssttaarrttbb returns 1 if a lowercase version of the buffer _s, of length _l_e_n, starts with a lowercase version of the string _t. _t must be 0-ter- minated. The ccaassee routines are ASCII-specific. They are suitable for programs that handle case-independent networking protocols. All comparisons are performed on unsigned bytes. SSEEEE AALLSSOO byte_diff(3), byte_equal(3), str_diff(3), str_equal(3), str_start(3) case(3)