ERIS CORE

◆ replacechar()

int FLASHMEM replacechar ( char *  str,
char  orig,
char  rep 
)

Definition at line 91 of file svcSerialCommandInterface.cpp.

91  {
92  char *ix = str;
93  int n = 0;
94  while((ix = strchr(ix, orig)) != NULL) {
95  *ix++ = rep;
96  n++;
97  }
98  return n;
99 }

Referenced by SvcSerialCommandInterface::messageHandler_LS().

+ Here is the caller graph for this function: