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