1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2024-12-27 05:40:17 +05:30
gists/c-programming/strings/str_replace.h

19 lines
284 B
C
Raw Normal View History

2024-02-20 22:11:24 +05:30
/*
* str_replace.h
*
* Author: Intel A80486DX2-66
* License: Creative Commons Zero 1.0 Universal
*/
#include <stdlib.h>
#include <string.h>
#define STR_REPLACE_ALL 0
2024-02-20 22:11:24 +05:30
char* str_replace(
const char* str,
const char* substr,
const char* replacement,
ssize_t max_count
);