Re: How to find the manual (or at least the header)
Re: How to find the manual (or at least the header)
- Subject: Re: How to find the manual (or at least the header)
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Mon, 27 Jun 2005 18:13:39 +0200
From: Stephane Sudre <email@hidden>
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.
I have to apologize - it is a bad habit of mine to exaggerate.
But even 30MB takes one hour and a half with my internect connection,
which is a lot if you just want to look at a function which might be
interesting.
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.
Yes, I know about grep, I even know that there is a -r option, but the
point I am trying to make is: Now that we have this wonderful Spotlight
I think it is a real shame that we poor developers still have to use
grep and find and all this stuff (not to antagonize Unix lovers: grep
is a great tool, but there are people who find Spotlight more
beautiful).
So again:
How do I get a developer-friendly Spotlight, which searches /usr, the
Frameworks and the Developer documentation (and maybe other places
where useful information is hidden) ?
Kind regards,
Gerriet.
_______________________________________________
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