Livl Shell  0.1
Livl Shell is an intermediate reimplementation of the bash shell in C language.
background_manager.h
Go to the documentation of this file.
1 
7 #ifndef BACKGROUND_MANAGER_H
8 #define BACKGROUND_MANAGER_H
9 
10 #include <stdio.h>
11 #include <stdlib.h>
12 #include <sys/types.h>
13 #include <sys/wait.h>
14 #include "typedef.h"
15 #include "command.h"
16 #include "constants.h"
17 
23 
29 void add_background_process(pid_t pid, const Command *command);
30 
31 #endif // BACKGROUND_MANAGER_H
command.h
File containing the command functions to manage the commands entered by the user (parsing,...
Command
Struct that represents a command.
Definition: typedef.h:97
check_completed_background_processes
void check_completed_background_processes()
Method that checks if a background process has completed and prints corresponding information to the ...
Definition: background_manager.c:6
constants.h
Header file defining constants.
typedef.h
File containing all the typedefs used in the shell program.
add_background_process
void add_background_process(pid_t pid, const Command *command)
Add background process to store information about the process.
Definition: background_manager.c:43