CRC_CCITT(9) Basic Kernel Library Functions CRC_CCITT(9)NAME
crc_ccitt - recompute the CRC for the data buffer
SYNOPSIS
u16 crc_ccitt(u16 crc, u8 const * buffer, size_t len);
ARGUMENTS
crc
previous CRC value
buffer
data pointer
len
number of bytes in the buffer
COPYRIGHT Kernel Hackers Manual 2.6. July 2010 CRC_CCITT(9)
Check Out this Related Man Page
CRC32(3) User Contributed Perl Documentation CRC32(3)NAME
String::CRC32 - Perl interface for cyclic redundency check generation
SYNOPSIS
use String::CRC32;
$crc = crc32("some string");
$crc = crc32("some string", initvalue);
$somestring = "some string";
$crc = crc32($somestring);
open(SOMEFILE, "location/of/some.file");
$crc = crc32(*SOMEFILE);
close(SOMEFILE);
DESCRIPTION
The CRC32 module calculates CRC sums of 32 bit lenghts. It generates the same CRC values as ZMODEM, PKZIP, PICCHECK and many others.
Despite its name, this module is able to compute the checksum of files as well as strings.
EXAMPLES
$crc = crc32("some string");
results in the same as
$crc = crc32(" string", crc32("some"));
This is useful for subsequent CRC checking of substrings.
You may even check files:
open(SOMEFILE, "location/of/some.file");
$crc = crc32(*SOMEFILE);
close(SOMEFILE);
A init value may also been supplied in the above example.
AUTHOR
Soenke J. Peters <peters__perl@opcenter.de>
Please be so kind as to report any bugs/suggestions to the above address.
COPYRIGHT
CRC algorithm code taken from CRC-32 by Craig Bruce. The module stuff is inspired by a similar perl module called String::CRC by David
Sharnoff & Matthew Dillon. Horst Fickenscher told me that it could be useful to supply an init value to the crc checking function and so I
included this possibility.
The author of this package disclaims all copyrights and releases it into the public domain.
perl v5.16.3 2005-04-04 CRC32(3)
Hello!
I've been struggling for not few hours with memory leaks on this
machine. I'm running linux 2.6.32-5-686, and the problem is as follows:
Some months ago, I have compiled kernel 2.6.33-2-686 without any issues
in this same machine. This week I have tried compiling GNUzilla Icecat
and... (23 Replies)
Hello all :-)
i'm not sure if its a beginner or advanced question but i have the following problem - now for some months
after building a kernel from source (2.6.36 and now 2.6.38) the /dev/sd* entries are not removed if a remove the corresponding usb disk, sd card, what ever. i'm pretty sure... (0 Replies)
I'm a little embarrassed after all these years I've never really successfully compiled my own kernel. I used this guide to make the following files:
linux-headers-5.1.9_5.1.9-1_amd64.deb
linux-image-5.1.9_5.1.9-1_amd64.deb
linux-libc-dev_5.1.9-1_amd64.deb
When I first booted into this... (4 Replies)