use syscall for doing syswrite stuff -- more portable?
[unix-history] / usr / src / local / sccscmds / sccscmds.2 / util / repl.c
CommitLineData
7c9c5d18 1static char Sccsid[] = "@(#)repl.c 1.2 %G%";
5bda4123
JL
2/*
3 Replace each occurrence of `old' with `new' in `str'.
4 Return `str'.
5*/
6
7repl(str,old,new)
8char *str;
9char old,new;
10{
11 return(trnslat(str, &old, &new, str));
12}