Hi im trying to allocate memory using malloc(). Also, im trying to make a copy of the string before i allocate it. So im using strcpy(). But im still having issues with compiling it. please help!!
#include <stdlib.h>
#include "setup.h"
char *run( const char * const str ){
strcpy(str) = (char * const str)malloc(sizeof(char));
return NULL;
}