• 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
Re: ctl_getenqueuespace?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: ctl_getenqueuespace?
      • From: Terry Lambert <email@hidden>
References: 
 >ctl_getenqueuespace? (From: Stephane <email@hidden>)
 >Re: ctl_getenqueuespace? (From: Terry Lambert <email@hidden>)

  • Prev by Date: Re: ctl_getenqueuespace?
  • Next by Date: Re: ctl_getenqueuespace?
  • Previous by thread: Re: ctl_getenqueuespace?
  • Next by thread: Re: ctl_getenqueuespace?
  • Index(es):
    • Date
    • Thread