The util_make_filename function concatenates a directory name and a file name into a newly created string. This function is useful when you are dealing with a number of files that all go to the same directory.
#include <libproxy/cutil.h> char *util_make_filename(char *root, char *name);
A new string containing the directory name concatenated with the file name.
char *root is a string containing the directory name.
char *name is a string containing the file name.