maxishell
Implementation of a shell for Linux-like systems
Loading...
Searching...
No Matches
shell.h
Go to the documentation of this file.
1/* ************************************************************************** */
2/* */
3/* ::: :::::::: */
4/* shell.h :+: :+: :+: */
5/* +:+ +:+ +:+ */
6/* By: dmdemirk <dmdemirk@student.42london.c +#+ +:+ +#+ */
7/* +#+#+#+#+#+ +#+ */
8/* Created: 2024/06/04 11:19:58 by dmdemirk #+# #+# */
9/* Updated: 2024/07/17 17:02:13 by dmdemirk ### ########.fr */
10/* */
11/* ************************************************************************** */
12
13#ifndef SHELL_H
14# define SHELL_H
15
16# include "env.h"
17# include <signal.h>
18# include <termios.h>
19
20typedef struct s_ms_data
21{
22 struct termios *terminal;
23 char **args;
26 int std_in;
32
33#endif
struct s_ms_data t_ms_data
Definition env.h:17
int exit_status
Definition shell.h:30
t_env * envp
Definition shell.h:24
int std_err
Definition shell.h:28
int std_out
Definition shell.h:27
t_env * shell_variables
Definition shell.h:25
char * current_dir
Definition shell.h:29
struct termios * terminal
Definition shell.h:22
char ** args
Definition shell.h:23
int std_in
Definition shell.h:26