Added an lc_seterrstr() function