I am doing assignment in which I am using POSIX named semaphore, but it is not showing me list when I enter ipcs -s command.
ipcs -s
Please help me to get entry
ipcs is for System V semaphores, you are using POSIX semaphores. For the differences, see here.
ipcs