summaryrefslogtreecommitdiffstats
path: root/bin/dd/dd.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-03-05 19:35:51 +0000
committerphk <phk@FreeBSD.org>2004-03-05 19:35:51 +0000
commitd0818243a98d068bca04404ffdf26cdcfd64b0d0 (patch)
tree255c7e9c97c457694b6ee81156e5b2ffe6ab693b /bin/dd/dd.h
parent99a4684d724673ae90d63adc80a14fa2b42d2bb5 (diff)
downloadFreeBSD-src-d0818243a98d068bca04404ffdf26cdcfd64b0d0.zip
FreeBSD-src-d0818243a98d068bca04404ffdf26cdcfd64b0d0.tar.gz
Teach dd(1) about parity bits.
Diffstat (limited to 'bin/dd/dd.h')
-rw-r--r--bin/dd/dd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/dd/dd.h b/bin/dd/dd.h
index c6211d9..fbe7ce0 100644
--- a/bin/dd/dd.h
+++ b/bin/dd/dd.h
@@ -95,3 +95,9 @@ typedef struct {
#define C_UNBLOCK 0x80000
#define C_OSYNC 0x100000
#define C_SPARSE 0x200000
+#define C_PAREVEN 0x400000
+#define C_PARODD 0x800000
+#define C_PARSET 0x1000000
+#define C_PARNONE 0x2000000
+
+#define C_PARITY (C_PAREVEN|C_PARODD|C_PARSET|C_PARNONE)
OpenPOWER on IntegriCloud