GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  JAM_CRC32 (3)

NAME

JAM_Crc32 - Calculate CRC32 on a block of data

CONTENTS

Synopsis
Description
     Arguments
Examples
Author
See Also

SYNOPSIS


#include <jamlib/jam.h> 

ulong JAM_Crc32(uchar* Buffer_PC, ulong Length_I);

DESCRIPTION

Calculates the Crc32 value for a block of data. All ASCII characters are converted to lowercase before calculating the CRC (the input data is unchanged).

    Arguments

Buffer_PC
  A pointer to the first byte of the data block
Length_I
  The number of bytes in the data block

RETURN VALUE

The Crc32 value

EXAMPLES

ulong Crc_I;
uchar Text_AC[32];

strcpy(Text_AC, "Hello world!\n");

Crc_I = JAM_Crc32(Text_AC, strlen(Text_AC));

AUTHOR

This manual page was created by Sir Raorn <raorn@altlinux.ru>, based on original JAMlib documentation by Bjorn Stenberg <bjorn@haxx.nu> and Johan Billing <billing@df.lth.se>.

SEE ALSO

jamlib(3)
Search for    or go to Top of page |  Section 3 |  Main Index


JAM_CRC32 (3) 2002-11-07

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.