Tk Library Source Code

Attachment Details
Login
Overview

Artifact ID: b5b9be198230dc3beee166266575f0cd80f7ad40
Ticket: 501339ffffffffffffffffffffffffffffffffff
Date: 2002-01-09 22:25:14
User: patthoyts
Artifact Attached: ebea20bab482c4079435afca511ac3addeedb7b1
Filename:crc32.n
Description:CRC32 manual page
Content:
     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
'\" 
'\" Copyright (c) 2002 Pat Thoyts <[email protected]>
'\" 
'\" RCS: @(#) $Id$
'\" 
.so man.macros
.TH crc32 n 1.0 CRC32 "Cyclic Redundancy Check (crc32)"
.BS
'\" Note: do not modify the .SH NAME line immediately below!
.SH NAME
::crc32::crc32 \- Perform a 32bit Cyclic Redundancy Check
.SH SYNOPSIS
\fBpackage require Tcl 8.2\fR
.sp
\fBpackage require crc32 ?1.4.1?\fR
.sp
\fB::crc32::crc32\fR \fImsg\fR?
.sp
.BE
.SH DESCRIPTION
.PP
This package provides a Tcl-only implementation of the CRC-32 algorithm.
.SH COMMANDS
.TP
\fB::crc32::crc32\fR \fImsg\fR \fI?format?\fR
The command takes a message and optionally a format string and returns
the CRC32 value using the format specifier provided or %u.
.TP
.SH EXAMPLES
.PP
.CS
% crc32::crc32 {Hello, World!}
3964322768
% crc32::crc32 {Hello, World!} %X
EC4AC3D0
.CE
.SH KEYWORDS
crc, crc32, cyclic redundancy check, data integrity, security