alternatively and more advantageously, you can also construct your own custom header file with definitions and declarations in a C file and include that header file. (not for already built in functions like these, but other functions like say, computing integration or differential equations solution or bessel functions or as in ur case, custom string operations that doesn't exist in the package)