moop250 / minishell

1 stars 1 forks source link

builtins #13

Closed Sukori closed 2 months ago

Sukori commented 3 months ago

our shell must implement the following builtins:

Sukori commented 2 months ago

@moop250 Request to make the builtins return their exit status instead of being void functions. Tell me if you want me to make this instead.

Sukori commented 2 months ago

proposition:

int echo(char **in) // pipeline->params
{
    if (false)
        return (1); //or an appropriate errno
    return (0); //success
}