10. What is the `semctl()` function used for in System V semaphores? Explain how it can be used to retrieve the value of a semaphore.
a. Explain your understanding about your familiarity with the `semctl()` function and its role in controlling semaphore sets, including querying semaphore values.