-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRedirectionsHandler.h
22 lines (18 loc) · 1.24 KB
/
RedirectionsHandler.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*****************************************************************************************************\
File Name : RedirectionsHandler.h
Author : Ilay Gilman
Purpose : header of RedirectionHandler.c
\*****************************************************************************************************/
#ifndef _RED_HANDLER_
#define _RED_HANDLER_
/* Decleration Section *******************************************************************************/
/*****************************************************************************************************\
* Function Name : handle_redirections
* Function Porpuse : setting new input & output to cmd if needed
* Function Params : char *cmd_argv[], int cmd_argv_len
* Return Values : int
* Remarks : stdin & stdout of current exec might change
* Authors : Ilay Gilman
\*****************************************************************************************************/
int handle_redirections(char *cmd_argv[], int cmd_argv_len);
#endif //_RED_HANDLER_