Semaphore in Unix Using C Programming