minishell
Minishell Project for École 42
Loading...
Searching...
No Matches
echo_builtin.c File Reference

Builtin function for the "echo" command in the minishell project. More...

#include "minishell.h"
Include dependency graph for echo_builtin.c:

Functions

int echo (char **args)
 Implements the "echo" command to display text to the standard output.
 

Detailed Description

Builtin function for the "echo" command in the minishell project.

This file contains the implementation of the echo builtin command The echo command is used to display text to the standard output.

Function Documentation

◆ echo()

int echo ( char **  args)

Implements the "echo" command to display text to the standard output.

This function handles the "echo" command, which displays text to the standard output. It can be called with multiple arguments, and it processes the -n option to omit the trailing newline character.

Parameters
[in]argsAn array of strings containing the arguments.
Returns
An exit status EXIT_SUCCESS always.