Re: ctl_getenqueuespace?
Re: ctl_getenqueuespace?
- Subject: Re: ctl_getenqueuespace?
- From: Stephane <email@hidden>
- Date: Fri, 3 Nov 2006 10:45:11 +0100
On Nov 3, 2006, at 1:13 AM, Terry Lambert wrote:
On Nov 2, 2006, at 6:09 AM, Stephane wrote:
The "Return Value" description for the ctl_getenqueuespace API is
wrong. It looks like to be a copy-paste from the enqueue calls.
It's incorrect in both the header and documentation:
http://developer.apple.com/documentation/Darwin/Reference/
KPI_Reference/kern_control/CompositePage.html#HeaderDoc_functions
kern_control.h
Bug report filed: (Problem ID: 4816011)
---------
What is the correct description?
It's an errno_t - I looked at both your linked documentation and
the current releases source code, and it looks correct; why do you
think it's incorrect?
"Return Value
0 - Data was enqueued to be read by the client. EINVAL - Invalid
parameters."
You do not enqueue any data when you call this function...
IMHO, this is a copy paste from the ctl_enqueuembuf description.
_______________________________________________
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