if_diff/src/idfSymbol.cxx
//============================================================================
// Find the extent of white space at the end of a string.
// Given a pointer 1 beyond the end of a character array,
// check for trailing white space characters and return a pointer
// to the trailing white space.
//============================================================================
Find the extent of white space at the end of a string.
Given a pointer 1 beyond the end of a character array,
check for trailing white space characters and return a pointer
to the trailing white space.
Find the extent of white space at the end of a string . Given a pointer 1 beyond the end of a character array check for trailing white space characters and return a pointer to the trailing white space .
static char *trailing_white_space(char *begin, char *end)
{
  while (end > begin && isspace(end[-1])) {
    end -= 1;
  }
  return end;
}
static char * trailing_white_space ( char * begin , char * end ) { while ( end > begin && isspace ( end [ -1 ] ) ) { end -= 1 ; } return end ; }
Find the extent of white space at the end of a string.
Find the extent of white space at the end of a string .