I need to implement a prompt of commands (mere academic project). The
function presents errors in the call execve, as parameter. It follows
the code below. I´m using gcc... thanks.

#include "stdio.h"
#include "unistd.h"
#include "sys/types.h"


void type_prompt(); //shows the prompt
void parser(char linha[] , char command[] , char **params ); //...