Memory

memcmp, memcpy, memset

memcmp

Description 

 memcmp(
   char *Int_Buf1,
   char *Int_Buf2,
   long  Int_Count
);

This function compares the first count bytes of buf1 and buf2 and returns a value indicating their relationship.

Parameters

char *Int_Buf1

First buffer.

char *Int_Buf2

Second buffer.

long Int_Count

Number of bytes.

Return Values

The function returns a value indicating their relationship, as follows:

< 0

buf1 less than buf2

= 0

buf1 identical to buf2

> 0

buf1 greater than buf2

See Also 
atof, strcat, strcmp, strcmpi, strcpy, strlen, strlwr, strrchr, strupr, sprintf, memcpy, memset

memcpy

Description 

 memcpy(
   char *Int_Buf1,
   char *Int_Buf2,
   long  Int_Count
);

This function copies count bytes of Int_Buf2 to Int_Buf1.

Parameters

char *Int_Buf1

First buffer.

char *Int_Buf2

Second buffer.

long Int_Count

Number of bytes.

Return Values

The function returns the value of dest.

See Also 
atof, strcat, strcmp, strcmpi, strcpy, strlen, strlwr, strrchr, strupr, sprintf, memcmp, memset

memset

Description 

 memset(
   char *Int_Buf1,
   word  value,
   long  Int_Count
);

This function sets the first count bytes of Int_Buf1 to the character value.

Parameters

char *Int_Buf1

First buffer.

word value

Value to set.

long Int_Count

Number of bytes.

Return Values

The function returns TRUE, if it is successful. If dest is invalid, it returns FALSE.

See Also 
atof, strcat, strcmp, strcmpi, strcpy, strlen, strlwr, strrchr, strupr, sprintf, memcmp, memcpy