d3724ba41f
(treating a target disk as a regular file and suppressing ioctl(2)s) on reading/writing disklabel in a target file. This allows cross build enviroment creating bootable disk images for targets in different endian. No functional changes to native (non-tools) disklabel(8) command. Closes PR toolchain/42357.
5 lines
156 B
C
5 lines
156 B
C
/* $NetBSD: dkcksum.h,v 1.5 2010/01/05 15:45:26 tsutsui Exp $ */
|
|
|
|
uint16_t dkcksum(struct disklabel *);
|
|
uint16_t dkcksum_sized(struct disklabel *, size_t);
|