Subject: Re: POSIX named semaphores naming restrictions in sem_open()
To: Ian Zagorskih <>
From: John F. Woods <>
List: tech-kern
Date: 09/09/2004 13:04:15
> According to POSIX specification semaphore name is not required to be
> started with slash character:

> "If name does not begin with the slash character, the effect is 
> implementation-defined."

Thus, POSIX indicates that if you want to guarantee the behavior, you
must use one (and only one) slash character at the start of the name.
Anything else is "implementation defined", and assuming that the documentation
indicates that lacking a leading slash leads to failure, the implementation
meets the requirement.