Re: How to find function definition
Re: How to find function definition
- Subject: Re: How to find function definition
- From: Marshall Clow <email@hidden>
- Date: Wed, 19 Jan 2005 08:09:25 -0800
How do I find the definition of a function?
Google.
[ Or, in this case, a reference to the C standard library ]
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.
Third hit on Google.
http://www.opengroup.org/onlinepubs/007908799/xsh/fabs.html
NAME
fabs - absolute value function
SYNOPSIS
#include <math.h>
double fabs(double x);
DESCRIPTION
The fabs() function computes the absolute value of x, |x|.
An application wishing to check for error situations should set
errno to 0 before calling fabs(). If errno is non-zero on return, or
the return value is NaN, an error has occurred.
[ more snipped ]
--
-- Marshall
Marshall Clow Idio Software <mailto:email@hidden>
It is by caffeine alone I set my mind in motion.
It is by the beans of Java that thoughts acquire speed,
the hands acquire shaking, the shaking becomes a warning.
It is by caffeine alone I set my mind in motion.
_______________________________________________
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