PostGIS  2.5.0dev-r@@SVN_REVISION@@

◆ str_to_upper()

static void str_to_upper ( char *  string)
static

Definition at line 1682 of file dbfopen.c.

References SHPAPI_CALL.

Referenced by DBFGetFieldIndex().

1683 {
1684  int len;
1685  short i = -1;
1686 
1687  len = strlen (string);
1688 
1689  while (++i < len)
1690  if (isalpha(string[i]) && islower(string[i]))
1691  string[i] = (char) toupper ((int)string[i]);
1692 }
Here is the caller graph for this function: