gcc 4.4.3 c89
I have the following code as a sample of what I am trying to do. I don\'t know the actual size of the array, until I enter the function. However, I don\'t
Make it dynamic:
char **g_device_names; int g_num_devices; void fill_devices(size_t num_devices) { g_device_names = malloc(sizeof(char*) * num_devices); g_num_devices = num_devices; ... }