-
Notifications
You must be signed in to change notification settings - Fork 0
/
CmdHandler.h
22 lines (18 loc) · 1.23 KB
/
CmdHandler.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 : CmdHandler.h
Author : Ilay Gilman
Purpose : header of CmdHandler.c
\*****************************************************************************************************/
#ifndef _CMD_HANDLER_
#define _CMD_HANDLER_
/* Decleration Section *******************************************************************************/
/*****************************************************************************************************\
* Function Name : cmd_handler
* Function Porpuse : handle proc scope command, same read & write for each
* Function Params : char* cmd_argv[], int length, int input_fd, int output_fd
* Return Values : int
* Remarks : none
* Authors : Ilay Gilman
\*****************************************************************************************************/
int cmd_handler(char* cmd_argv[], int length, int input_fd, int output_fd);
#endif //_CMD_HANDLER_