codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
while ( (nread = read(in_fd , buf, BUFFERSIZE)) > 0 ) { for (BufElement=0;BufElement < nread;BufElement++) { for (j=0; j < strlen(av[1]); j++) { temp[x] = buf[BufElement]; if (buf[BufElement] == av[1][j]){ strncpy(temp+x,av[2],strlen(av[2])); x = BufElement + 1; } } } }
Private
[
?
]
Run code
Submit