I would appreciate any donations. Wishlist or send e-mail type donations to maekawa AT daemon-systems.org.

Thank you.


DISKLABEL_DKCKSUM(3)       Library Functions Manual       DISKLABEL_DKCKSUM(3)

NAME
     disklabel_dkcksum -- compute the checksum for a disklabel

LIBRARY
     System Utilities Library (libutil, -lutil)

SYNOPSIS
     #include <util.h>

     uint16_t
     disklabel_dkcksum(struct disklabel *lp);

DESCRIPTION
     disklabel_dkcksum() computes the checksum for the disklabel passed in as
     lp.

RETURN VALUES
     The disklabel_dkcksum() returns the computed checksum.

HISTORY
     The disklabel_dkcksum() function call appeared in NetBSD 2.0.

NetBSD 7.1.2                      May 4, 2010                     NetBSD 7.1.2