summaryrefslogtreecommitdiff
path: root/README.md
blob: 44314003125c07f56fd954c48ba1bc42a0be37bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Convenience function to replace every occurance of a string in a file with a replacement string, outputs to another file.

Compile with ````make```` and run with ````./example````.


definition in replace.h:

````
int replaceinfile(char *originalfile, char *destinationfile, char *placeholder, char *replacement);
// 0 = failure, 1 = success
````

See main.c for a usage example