• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
what are the explicit types for shmid_ds struct for shmctl() when called from a 32 Bit app on Snow Leopard ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: what are the explicit types for shmid_ds struct for shmctl() when called from a 32 Bit app on Snow Leopard ?
      • From: Jean-Daniel Dupas <email@hidden>
  • Prev by Date: Re: Xcode 3.2.4 killed my documentation bookmarks
  • Next by Date: Re: what are the explicit types for shmid_ds struct for shmctl() when called from a 32 Bit app on Snow Leopard ?
  • Previous by thread: Re: error: can't exec '/Developer/Library/Xcode/Plug-ins/GCC 4.2.xcplugin/Contents/Resources/gcc' (No such file or directory)
  • Next by thread: Re: what are the explicit types for shmid_ds struct for shmctl() when called from a 32 Bit app on Snow Leopard ?
  • Index(es):
    • Date
    • Thread