I am trying to implement the code below, but it gives me errors here:
char **lines = tokenizer(buffer, "\n"); //use of undeclared identifier 'lines'
free(lines); //use of undeclared identifier 'lines'
Actual code piece:
int child = fork();
switch (child) {
case 0 :
// child process
char **lines = tokenizer(buffer, "\n");
free(lines);
How can I resolve this?