Posix shared memory problem

Garrett Wollman wollman at bimajority.org
Sun May 10 15:54:39 UTC 2009


<<On Sun, 10 May 2009 07:57:06 +0200, Lothar Scholz <scholz at scriptolutions.com> said:

> First of all you can't use '/' if you want stay portable.

The Standard says otherwise.

> It is also just a maximum of 13 char long (says the FreeBSD 6.X man page)

Not in the manual page I have, and the Standard says otherwise.

> The path has nothing to do with the filesystem, it's a separate
> namespace.

Again, the Standard says otherwise (or rather, it says that this is an
implementation option).  To quote the 2001 edition of the standard
(XSH6 page 1313):

	It is unspecified whether the name appears in the file system
	and is visible to other functions that take pathnames as
	arguments. The name argument conforms to the construction
	rules for a pathname.

-GAWollman



More information about the freebsd-arch mailing list