rename folders
This commit is contained in:
69
headers/minishell.h
Normal file
69
headers/minishell.h
Normal file
@@ -0,0 +1,69 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* minishell.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2021/10/03 19:14:46 by lperrey #+# #+# */
|
||||
/* Updated: 2021/10/03 19:14:49 by lperrey ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef MINISHELL_H
|
||||
# define MINISHELL_H
|
||||
# include "libft.h"
|
||||
# include <fcntl.h>
|
||||
# include <unistd.h>
|
||||
# include <stdlib.h>
|
||||
# include <string.h>
|
||||
# include <errno.h>
|
||||
# include <sys/wait.h>
|
||||
# include <sys/stat.h>
|
||||
# include <sys/types.h>
|
||||
# include <sys/time.h>
|
||||
# include <sys/resource.h>
|
||||
# include <signal.h>
|
||||
# include <dirent.h>
|
||||
# include <termios.h>
|
||||
# include <curses.h>
|
||||
# include <term.h>
|
||||
|
||||
# include <stdio.h>
|
||||
# include <readline/readline.h> // sudo apt install libreadline-dev
|
||||
# include <readline/history.h>
|
||||
|
||||
/*
|
||||
** <stdio.h>: printf(), perror(), readline()
|
||||
** <unistd.h>: access(), unlink()
|
||||
** <signal.h>: sigaction()
|
||||
** <readline/readline.h>,
|
||||
** <readline/history.h>,
|
||||
** lib readline (-lreadline),
|
||||
** readline(), rl_clear_history(), rl_on_new_line(),
|
||||
** rl_replace_line(), rl_redisplay(), add_history()
|
||||
** ------------------
|
||||
** <fcntl.h>: open()
|
||||
** <unistd.h>: read(), write(), close(), fork(), getcwd(), chdir(),
|
||||
** stat(), lstat(), fstat(), execve(), dup(), dup2(), pipe(),
|
||||
** isatty(), ttyname(), ttyslot(), ioctl(),
|
||||
** tcsetattr(), tcgetattr()
|
||||
** <stdlib.h>: malloc(), free(), exit(), getenv()
|
||||
** <string.h>: strerror(), define NULL, define size_t
|
||||
** <errno.h>: define errno
|
||||
** <sys/wait.h>: wait(), waitpid()
|
||||
** <sys/resource.h>,
|
||||
** <sys/time.h>: wait3(), wait4()
|
||||
** <signal.h>: signal(), kill()
|
||||
** <dirent.h>: opendir(), readdir(), closedir()
|
||||
** <termios.h>: tcsetattr(), tcgetattr()
|
||||
** <curses.h>,
|
||||
** <term.h>: tgetent(), tgetflag(), tgetnum(),
|
||||
** tgetstr(), tgoto(), tputs()
|
||||
** ------------------
|
||||
** <sys/stat.h>: open(), stat(), lstat(), fstat()
|
||||
** <sys/types.h>: open(), wait(), waitpid(), wait3(), wait4(), kill()
|
||||
** stat(), lstat(), fstat(), opendir(), closedir()
|
||||
*/
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user