Main Page | File List | File Members | Related Pages

file.h File Reference

This is an example file. More...

Go to the source code of this file.

Defines

#define MAX(a, b)   ((a) > (b)) ? (a) : (b)
 This macro returns the maximum of two numbers.

#define MIN(a, b)   ((a) > (b)) ? (a) : (b)
 This macro returns the minimum of two numbers.


Functions

void do_nothing (int do, char nothing)
 This function does nothing.


Detailed Description

This is an example file.

This file shows how to use all the commands described.

Author:
Joey Echeverria (jge)
Bug:
The MIN() macro appears to be broken.

Define Documentation

#define MAX a,
 )     ((a) > (b)) ? (a) : (b)
 

This macro returns the maximum of two numbers.

Parameters:
a the first number
b the second number
Returns:
the maximum of a and b

#define MIN a,
 )     ((a) > (b)) ? (a) : (b)
 

This macro returns the minimum of two numbers.

Bug:
This macro doesn't work.
Parameters:
a the first number
b the second number
Returns:
the minimum of a and b


Function Documentation

void do_nothing int  do,
char  nothing
 

This function does nothing.

Parameters:
do an integer telling the function what to do
nothing a character telling the function nothing
Returns:
void


Generated on Tue Aug 26 09:11:30 2003 by doxygen 1.3.2