Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

Miscellaneous macros
[Macros and data types commonly used]

Defines


Define Documentation

#define ABS  )     (((x)<0) ? -(x) : (x))
 

A macro returns the absolute value of x.

Definition at line 1383 of file common.h.

#define MAX x,
 )     (((x) > (y))?(x):(y))
 

A macro returns the maximum of x and y.

Definition at line 1369 of file common.h.

#define MAX_NAME   NAME_MAX
 

The possible maximal length of a file name.

Note:
This definition is an alias of NAME_MAX

Definition at line 1415 of file common.h.

#define MAX_PATH   PATH_MAX
 

The possible maximal length of a path name.

Note:
This definition is an alias of PATH_MAX

Definition at line 1409 of file common.h.

#define MIN x,
 )     (((x) < (y))?(x):(y))
 

A macro returns the minimum of x and y.

Definition at line 1376 of file common.h.

#define TABLESIZE table   )     (sizeof(table)/sizeof(table[0]))
 

A macro returns the number of elements in a table.

Definition at line 1361 of file common.h.


Generated on Mon Jun 26 13:54:28 2006 for MiniGUI V1.6.9 API Reference by  doxygen 1.4.2