lscomp (4) --- compare two linked strings 02/23/82 _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n character function lscomp (ptr1, ptr2) pointer ptr1, ptr2 Library: vlslb _F_u_n_c_t_i_o_n The linked strings specified by 'ptr1' and 'ptr2' are com- | pared on the basis of ASCII collating sequence. The value | of the function is '>'c, '='c, or '<'c, depending upon the relation that the first string has to the second. _I_m_p_l_e_m_e_n_t_a_t_i_o_n Characters are extracted from the strings using 'lsgetc' until two unequal characters are found or an EOS character is seen. The returned value is then decided from these two characters: if one of the characters is EOS, the longer string is considered greater; if both of the characters are EOS, the strings are considered equal; if neither character is EOS, the string with the larger character is considered greater. _C_a_l_l_s lsgetc _B_u_g_s Locally supported. _S_e_e _A_l_s_o lscmpk (4) lscomp (4) - 1 - lscomp (4)