SysIII/usr/src/lib/libPW/repl.c

Compare this file to the similar file:
Show the results in this format:

static char Sccsid[]="@(#)repl	3.2";
/*
	Replace each occurrence of `old' with `new' in `str'.
	Return `str'.
*/

repl(str,old,new)
char *str;
char old,new;
{
	return(trnslat(str, &old, &new, str));
}