We have discussed the concept of P() and V() operations in t…

We have discussed the concept of P() and V() operations in the lectures. Linux/Unix do not have P() and V() as the API. When you write a C/C++ program (for example, the programming questions in Assignment 5) under Linux/Unix, what API can you use to have the same functionality as P() and V()?Note: Just answer the names of the API. Do not need to explain.

Please write down the C or C++ pseudo-code for the class pro…

Please write down the C or C++ pseudo-code for the class project – Shell. Your pseudo-code needs to include the correct name of important APIs. Your pseudo-code needs to have the correct program structure.The Shell project asks for creating a child process to execute the command input by users. Please write down the C or C++ pseudo-code. 

Please write down the C or C++ pseudo-code for the class pro…

Please write down the C or C++ pseudo-code for the class project – Shell. Your pseudo-code needs to include the correct name of important APIs. Your pseudo-code needs to have the correct program structure.The Shell project asks for creating a child process to execute the command input by users. Please write down the C or C++ pseudo-code. 

We have discussed the concept of P() and V() operations in t…

We have discussed the concept of P() and V() operations in the lectures. Linux/Unix do not have P() and V() as the API. When you write a C/C++ program (for example, the programming questions in Assignment 5) under Linux/Unix, what API can you use to have the same functionality as P() and V()?Note: Just answer the names of the API. Do not need to explain.