#ifndef SLAVE_H #define SLAVE_H #define _POSIX_C_SOURCE 200112L #include #include #include #include #include #include "error.h" #define MAX_SIZE 300 #define COMMAND_MAX_SIZE 400 void runCommand(char *, char *); void printOutput(char *, char *); char checkFile(char *); #endif