|
maxishell
Implementation of a shell for Linux-like systems
|

Go to the source code of this file.
Functions | |
| int | ft_perror (char *str) |
| void | close_fds (int in, int out) |
| close two file descriptors | |
| void | handle_temp_fd (t_ms_data *data) |
| void | handle_io_fd (t_ms_data *data) |
| close temporary input/output file descriptors and reset them to -1 | |
| void | handle_std_io (int *std_io, int std_fileno) |
| void close_fds | ( | int | in, |
| int | out | ||
| ) |
close two file descriptors
--
| fds | file descriptors |
Definition at line 28 of file utils_0.c.
Referenced by child_process(), execute_child(), new_process(), and setup_pipe_processes().

| int ft_perror | ( | char * | str | ) |
Definition at line 18 of file exit_status_utils.c.
| void handle_io_fd | ( | t_ms_data * | data | ) |
close temporary input/output file descriptors and reset them to -1
--
| data | minishell structure |
Definition at line 39 of file utils_0.c.
References s_ms_data::std_in, and s_ms_data::std_out.
Referenced by process_command().

| void handle_std_io | ( | int * | std_io, |
| int | std_fileno | ||
| ) |
Definition at line 50 of file utils_0.c.
Referenced by builtin_echo(), child_process(), and new_process().

| void handle_temp_fd | ( | t_ms_data * | data | ) |