• 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: How to find the manual (or at least the header)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to find the manual (or at least the header)


  • Subject: Re: How to find the manual (or at least the header)
  • From: Stephane Sudre <email@hidden>
  • Date: Mon, 27 Jun 2005 13:27:16 +0200


On 27 juin 05, at 11:37, Gerriet M. Denkmann wrote:

Date: Sun, 26 Jun 2005 23:18:43 +0200
From: St?phane Sudre <email@hidden>

On dimanche, juin 26, 2005, at 03:27  PM, Gerriet M. Denkmann wrote:


When I read a line like:
kern_return_t kret = host_statistics (mach_host_self(),
how can I find the documentation?

ManOpen tells me that there is no man page.

AppKiDo does an excellent job for Foundation, AppKit etc. But of
course nothing here.

What can I do now?

Download xnu 795.x.x and read the source? Ok, this is not THE solution but it can help.

First: how do I know, given some function, what source I have to download from where?
And even if I would be able to download several gigabytes of code there still remains the question: how to find a specific function in this mass of data?

29.8 MB is not several gygabtes.

For the search solution, it depends if you'd rather spend more times on writing questions than just cding to the xnu directory and perform queries such as:

grep host_statistics *
grep host_statistics */*

At one point you will see the definition.

There's also some kind of indexing solution (which I never remember) which allows to find the source file for a function. Just ask the question on the darwin-dev mailing list and I'm pretty sure, they will have the answer.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How to find the manual (or at least the header)
      • From: Cameron Hayne <email@hidden>
    • Re: How to find the manual (or at least the header)
      • From: Andy Lee <email@hidden>
References: 
 >Re: How to find the manual (or at least the header) (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: easy way to refresh branch of NSOutlineView
  • Next by Date: Not drawing NSTableView rows as selected?
  • Previous by thread: Re: How to find the manual (or at least the header)
  • Next by thread: Re: How to find the manual (or at least the header)
  • Index(es):
    • Date
    • Thread