eg_compare.c File Reference


Detailed Description

Definition in file eg_compare.c.

#include "eg_compare.h"

Include dependency graph for eg_compare.c:

Go to the source code of this file.
int EGdCompare (const void *str1, const void *str2)
 Normal order of integers.
int EGlfCompare (const void *str1, const void *str2)
 Normal order of doubles.
int EGptCompare (const void *str1, const void *str2)
 Normal order of pointers.
int EGstringCompare (const void *str1, const void *str2)
 Lexicographical order of strings.
int EGudCompare (const void *str1, const void *str2)
 Normal order of unsigned integers.


Function Documentation

int EGdCompare const void *  str1,
const void *  str2
 

Normal order of integers.

Description:
This function compare integers.

Definition at line 56 of file eg_compare.c.

int EGlfCompare const void *  str1,
const void *  str2
 

Normal order of doubles.

Description:
This function compare two double.

Definition at line 42 of file eg_compare.c.

int EGptCompare const void *  str1,
const void *  str2
 

Normal order of pointers.

Description:
This function compare pointers in 'memory' order.

Definition at line 80 of file eg_compare.c.

int EGstringCompare const void *  str1,
const void *  str2
 

Lexicographical order of strings.

Parameters:
str1 pointer to a stream of stirngs.
str2 pointer to a stream of stirngs.
Description:
This function compare two strings of (\0 terminated) chars in lexicographical order.

Definition at line 32 of file eg_compare.c.

int EGudCompare const void *  str1,
const void *  str2
 

Normal order of unsigned integers.

Description:
This function compare two unsigned integers.

Definition at line 70 of file eg_compare.c.


Generated on Mon Jan 30 08:49:24 2006 for EGlib by  doxygen 1.4.5