• 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
kev_msg_post size limitation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kev_msg_post size limitation


  • Subject: kev_msg_post size limitation
  • From: Jérome Foucher <email@hidden>
  • Date: Mon, 2 Oct 2006 10:38:32 +0200

Hi list,

I'm posting events from my KEXT to a user-land process using kev_msg_post()

The doc states that this function returns EMSGSIZE if the message is too large.
This is quite an issue for me, and the doc doesn't say anything about the max size.


So can anyone tell me :
- what is the exact maximum size of the message structure ?
- if the max size depends on the kev_class or kev_subclass parameters of the message ?
- if there's another function to use instead of kev_msg_post() to post larger messages to user-land (I might have to post messages as large as 1KB), or do I have to split my message into several pieces (in that case, can I be sure my user-land process will receive the messages in the exact post order ?) ?


Thanks
Jérome _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: kev_msg_post size limitation
      • From: Michael Smith <email@hidden>
  • Next by Date: Re: kev_msg_post size limitation
  • Next by thread: Re: kev_msg_post size limitation
  • Index(es):
    • Date
    • Thread