site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=EyQlyDen6+jHFpQBxFSn454A3efcxh5wTjc6cA+vvfg=; b=T4vJTId79d9M0gOF4y9dgmyohKclj/pv0anMgFPriwwUVJ0Tts52/VZRuv4FypT4lh GVgO3WeSNwGlx5pdjLWIwJJKSPUYihSD1KAR9y46DQJ94B9NPz+ivfDVIospz1/sL7hp fY/MJtYuoR/t0P8oX6SiAb/ShANv3M2guffBM= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=GWLUzIzYuVqDM3tIbn+KzveW77398fQpChpzLQ7NohlgRDxjUmbDN1ydRvWG93L56Y /bGCMHW46fzDBkXIInDwE7x5Rd9KSAjVY/p0GS2ecc9NSpZO17tduh8fGUaJf71yiwtN c1AurytFjx6/gu+TFN5/Ttlbg8eHWIdmdLSBU= On Thu, Aug 21, 2008 at 6:47 AM, <markregister@mac.com> 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com