| iMatix home page | << | < | > | >> |
SFL Version 2.10 |
#include "sflstr.h" char * strlwc ( char *string)
Converts all alphabetic characters in string to lowercase, stopping at the final null character. Returns string. If string is null, returns null. We do not call this function strlwr because that is already provided by some systems (but not by ANSI C).
{ char *scan; if (string) { scan = string; while (*scan) { *scan = (char) tolower (*scan); scan++; } } return (string); }
| << | < | > | >> | Copyright © 1996-99 iMatix Corporation |