src/glinject/glinject.c
/*
 * Concatenates the base path with the suffix.
 */
Concatenates the base path with the suffix.
Concatenates the base path with the suffix .
char* glinject_join_path(const char* path, const char* suffix) {
	char* new_path = malloc(strlen(path) + strlen(suffix) + 1);
	strcpy(new_path, path);
	strcat(new_path, suffix);
	return new_path;
}
char * glinject_join_path ( const char * path , const char * suffix ) { char * new_path = malloc ( strlen ( path ) + strlen ( suffix ) + 1 ) ; strcpy ( new_path , path ) ; strcat ( new_path , suffix ) ; return new_path ; }
Concatenates the base path with the suffix.
Concatenates the base path with the suffix .