minishell
Minishell Project for École 42
|
Builtin function for displaying environment variables. More...
#include "minishell.h"
Functions | |
int | env (t_shell *shell, char **args) |
Displays the environment variables and their values. | |
Builtin function for displaying environment variables.
This file contains the implementation of the env builtin command The env command is used to display the environment variables and their values.
int env | ( | t_shell * | shell, |
char ** | args | ||
) |
Displays the environment variables and their values.
This function implements the "env" command, which is used to display the environment variables and their corresponding values to the standard output.
[in] | shell | A pointer to the shell struct. |
[in] | args | An array of strings containing the arguments. |