Re: How to find function definition
Re: How to find function definition
- Subject: Re: How to find function definition
- From: Chris Espinosa <email@hidden>
- Date: Wed, 19 Jan 2005 08:46:21 -0800
On Jan 19, 2005, at 8:02 AM, Jeremy French wrote:
How do I find the definition of a function?
In the Aaron Hillegass book (Cocoa Programming for Mac OSX), there is
an example that uses a function called fabs (on page 323). However,
there is no explanation of what this function does.
So in XCode 1.5, I option-clicked on "fabs" in some source code, and
HELP displayed the following information (from Apple's "Mathematical
and Logical Utilities Reference"):
---
fabs
double_t fabs (
double_t x
);
Parameter Descriptions
x
function result
See page for a description of the double_t data type.
Availability
Available in CarbonLib 1.0 and later when MathLib 1.0 or later is
present. Available in Mac OS X 10.0 and later.
Header: fp.h
---
Unfortunately the above documentation doesn't seem very helpful. What
does the function do? Why isn't there a description of what it does?
Where do I find an explanation of what "fabs" returns?
Also see:
<http://developer.apple.com/documentation/Carbon/Reference/
Mathematical_al_Utilities/index.html>
'fabs' was originally defined in SANE, then in Mac OS 7–9, then in
Carbon. In Mac OS X its implementation is provided by the standard
UNIX libraries and headers, and hence its documentation comes from
there, too. Try Help -> Open man page... and enter 'fabs' to see the
same page Marshall pointed out.
In Xcode 2.0 the Search Documentation menu item will search man pages,
too, so you will have gotten two pages in your search result: the
Carbon header and the UNIX man page.
Chris _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden