Modify the ConvertToC

Step 1- Modify the ConvertToC

You will be using execv that requires a char** as an argument. The catch is that the char ** has to be NULL terminated

Please do the following

  1. allocate an extra “word” for NULL (Hint: tokenCount+1)
  2. store the value of NULL into the extra “word”

Step 2- Modify the ProcessCommand

You will be emulating a shell. First, the shell checks for specific commands (“shutdown”, “lo”, etc). If it does not recognize those commands then, a fork occurs and the child will execute the command as typed.

The algorithm to implement is as follows (Hint: add code inside the else):

  1. fork to create a child and parent
  2. the child will do the following:
    • Call the ConverToC function and capture the return into a char** variable
    • Call execvp sending it two arguments: the first element (or word) of the char** variable, and the entire array
    • Print an error message
    • exit
  3. the parent will do the following:
    • wait for the child
    • return 1
  4. don’t forget to handle the error case of the fork

find the cost of your paper

Complete independent research and review two (2) to three (3) online end-user license agreements.

Complete independent research and review two (2) to three (3) online end-user license agreements. Compare and contrast each EULA with each other. In your response, please consider the following: ·….

Write a SQL query that identifies the number of prescriptions grouped by drug name.

ALY6030 Final Project Assignment – Pharmacy Claims Due End of Week 6 Background: The excel file “ALY 6030 Final Project Data Set.xlsx” contains sample pharmacy claims for made-up members of….

Create a JavaFX program to allow a user to query the Northwind database.

Create a JavaFX program to allow a user to query the Northwind database. You should be able to perform the following functionality using the program:   Print order total (not….