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
JAM_Crc32(3) JAM subroutine library JAM_Crc32(3)

JAM_Crc32 - Calculate CRC32 on a block of data

#include <jamlib/jam.h>
ulong JAM_Crc32(uchar* Buffer_PC,
                ulong  Length_I);

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).

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

The Crc32 value

ulong Crc_I;
uchar Text_AC[32];
strcpy(Text_AC, "Hello world!\n");
Crc_I = JAM_Crc32(Text_AC, strlen(Text_AC));

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>.

jamlib(3)
2002-11-07

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

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