• 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 function definition
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >How to find function definition (From: Jeremy French <email@hidden>)

  • Prev by Date: How to find function definition
  • Next by Date: Re: XCode Startup Error
  • Previous by thread: How to find function definition
  • Next by thread: Re: How to find function definition
  • Index(es):
    • Date
    • Thread