kev_msg_post size limitation
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