PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ str_to_upper()

static void str_to_upper ( char *  string)
static

Definition at line 1678 of file dbfopen.c.

References SHPAPI_CALL.

Referenced by DBFGetFieldIndex().

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