Re: shm_open ENAMETOOLONG
Re: shm_open ENAMETOOLONG
- Subject: Re: shm_open ENAMETOOLONG
- From: "Shawn Erickson" <email@hidden>
- Date: Thu, 21 Aug 2008 08:20:01 -0700
On Thu, Aug 21, 2008 at 6:47 AM, <email@hidden> wrote:
> I have been working on porting some POSIX C/C++ inhouse code to OS X and have run into a problem with shm_open. It looks like the size of SHM_NAME_MAX is 32 characters (noted on some older posts here). Because our code specifies a file using a path, name and PID, it usually exceeds this so I'm looking for any ideas to get around this problem. Any thoughts on how to do this (using good programming practices)?
A 32 character long hash of the path, name and pid?
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden