For sem_open(3), the answer depends on the version of FreeBSD (more precisely, the API you compile against, so running on 9.x a binary compiled on 8.x will give the 8.x behaviour).
In FreeBSD 9.x, sem_open creates a file named /tmp/SEMD followed by the name without the initial slash (which is mandatory, as documented by the man page).
In older versions, sem_open creates a special kernel object in its own namespace. There is no way to get a list of these objects.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.