Answered step by step
Verified Expert Solution
Question
1 Approved Answer
/ II.A.1. Create pipes: int toChild[2]; int fromChild[2]; // YOUR CODE HERE to make 2 pipes // II.A.2. Do 'openssl' process work: if ( /*
/ II.A.1. Create pipes: int toChild[2]; int fromChild[2]; // YOUR CODE HERE to make 2 pipes // II.A.2. Do 'openssl' process work: if (/* YOUR CODE HERE to make a child */ == 0) { // YOUR CODE HERE to handle child case exit(EXIT_FAILURE); } // II.A.3. Do parent work: int numBytes; int status; char text[INIT_TEXT_LEN]; const char* msgCPtr; // YOUR CODE HERE to handle parent case mvwaddstr(messageWindow,hashIndex,0,HASH_TYPE_ARRAY[hashIndex]); waddstr(messageWindow,msgCPtr); wrefresh(messageWindow); } wrefresh(typingWindow); // moves cursor back to 'typingWindow': // YOUR CODE HERE to do one last thing
// PURPOSE: To do the spell-checking word-processor. Ignores command line // arguments. Return 'EXIT_SUCCESS' to OS. int main () { struct sigaction act; // (2) YOUR CODE HERE to install sigAlarmHandler as the handler for SIGALRM onNCurses(); type(NULL); offNCurses(); return(EXIT_SUCCESS); }
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started