Converts a (ASCII) lowercase character to uppercase. * * Same as standard toupper(), except that it is not locale sensitive. * * @since GDAL 3.9 */
| 3150 | * @since GDAL 3.9 |
| 3151 | */ |
| 3152 | int CPLToupper(int c) |
| 3153 | { |
| 3154 | return (c >= 'a' && c <= 'z') ? (c - 'a' + 'A') : c; |
| 3155 | } |
| 3156 | |
| 3157 | /************************************************************************/ |
| 3158 | /* CPLTolower() */ |
no outgoing calls
no test coverage detected