Changeset View
Changeset View
Standalone View
Standalone View
head/bin/dd/dd.h
Show First 20 Lines • Show All 99 Lines • ▼ Show 20 Lines | |||||
#define C_STATUS 0x0000000008000000ULL | #define C_STATUS 0x0000000008000000ULL | ||||
#define C_NOXFER 0x0000000010000000ULL | #define C_NOXFER 0x0000000010000000ULL | ||||
#define C_NOINFO 0x0000000020000000ULL | #define C_NOINFO 0x0000000020000000ULL | ||||
#define C_PROGRESS 0x0000000040000000ULL | #define C_PROGRESS 0x0000000040000000ULL | ||||
#define C_FSYNC 0x0000000080000000ULL | #define C_FSYNC 0x0000000080000000ULL | ||||
#define C_FDATASYNC 0x0000000100000000ULL | #define C_FDATASYNC 0x0000000100000000ULL | ||||
#define C_OFSYNC 0x0000000200000000ULL | #define C_OFSYNC 0x0000000200000000ULL | ||||
#define C_IFULLBLOCK 0x0000000400000000ULL | #define C_IFULLBLOCK 0x0000000400000000ULL | ||||
#define C_IDIRECT 0x0000000800000000ULL | |||||
#define C_ODIRECT 0x0000001000000000ULL | |||||
#define C_PARITY (C_PAREVEN | C_PARODD | C_PARNONE | C_PARSET) | #define C_PARITY (C_PAREVEN | C_PARODD | C_PARNONE | C_PARSET) | ||||
#define BISZERO(p, s) ((s) > 0 && *((const char *)p) == 0 && !memcmp( \ | #define BISZERO(p, s) ((s) > 0 && *((const char *)p) == 0 && !memcmp( \ | ||||
(const void *)(p), (const void *) \ | (const void *)(p), (const void *) \ | ||||
((const char *)p + 1), (s) - 1)) | ((const char *)p + 1), (s) - 1)) |