what are the explicit types for shmid_ds struct for shmctl() when called from a 32 Bit app on Snow Leopard ?
what are the explicit types for shmid_ds struct for shmctl() when called from a 32 Bit app on Snow Leopard ?
- Subject: what are the explicit types for shmid_ds struct for shmctl() when called from a 32 Bit app on Snow Leopard ?
- From: Dan Stenning <email@hidden>
- Date: Wed, 22 Sep 2010 15:55:42 +0100
- Importance: Normal
I need to determine the exact data types for the elements of struct shmid_ds as used in shmctl and shared memory.
This is for Snow Leopard, and i will be calling shmctl from a 32 bit app. I am calling this from declares inside a REALbasic app thus the reason for needing the exact datatypes. Is there any padding involved ? I’ve used the xcode man pages but even though im able to create shared memory successfully and map/attach to the shared memory, when i use shmctl to interrogate the struct as above i dont get any sensible values - for example in the segz element.
Also - Do i use the LEGACY definition for ipc_perm since i am calling shmctl from a 32 bit app or do all the element types have to be 64 bit ( for example should i interpret the long type as applied to shmid_ds as a signed 64 bit integer ? )
Regards
Dan Stenning
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden