I'm trying to pass the information of a 2d array to a 1d array like this
Which 2D array are you trying to pass to a 1D array?
You have a several arrays of characters and an array of pointers. All the arrays are 1D.
listbuffer = liste[x];
listbuffer is an array. You can't assign a pointer to an array. There is a strcpy() function to copy NULL terminated arrays of chars from one array to another.
Make sure that your made up function ACTUALLY returns a pointer that points to valid data AFTER THE FUNCTION ENDS.