Deleted Added
full compact
dd.h (111629) dd.h (126667)
1/*-
2 * Copyright (c) 1991, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Keith Muller of the University of California, San Diego and Lance
7 * Visser of Convex Computer Corporation.
8 *

--- 21 unchanged lines hidden (view full) ---

30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 * SUCH DAMAGE.
36 *
37 * @(#)dd.h 8.3 (Berkeley) 4/2/94
1/*-
2 * Copyright (c) 1991, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Keith Muller of the University of California, San Diego and Lance
7 * Visser of Convex Computer Corporation.
8 *

--- 21 unchanged lines hidden (view full) ---

30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 * SUCH DAMAGE.
36 *
37 * @(#)dd.h 8.3 (Berkeley) 4/2/94
38 * $FreeBSD: head/bin/dd/dd.h 111629 2003-02-27 18:04:54Z markm $
38 * $FreeBSD: head/bin/dd/dd.h 126667 2004-03-05 19:35:51Z phk $
39 */
40
41/* Input/output stream state. */
42typedef struct {
43 u_char *db; /* buffer address */
44 u_char *dbp; /* current buffer I/O address */
45 /* XXX ssize_t? */
46 size_t dbcnt; /* current buffer byte count */

--- 43 unchanged lines hidden (view full) ---

90#define C_SEEK 0x04000
91#define C_SKIP 0x08000
92#define C_SWAB 0x10000
93#define C_SYNC 0x20000
94#define C_UCASE 0x40000
95#define C_UNBLOCK 0x80000
96#define C_OSYNC 0x100000
97#define C_SPARSE 0x200000
39 */
40
41/* Input/output stream state. */
42typedef struct {
43 u_char *db; /* buffer address */
44 u_char *dbp; /* current buffer I/O address */
45 /* XXX ssize_t? */
46 size_t dbcnt; /* current buffer byte count */

--- 43 unchanged lines hidden (view full) ---

90#define C_SEEK 0x04000
91#define C_SKIP 0x08000
92#define C_SWAB 0x10000
93#define C_SYNC 0x20000
94#define C_UCASE 0x40000
95#define C_UNBLOCK 0x80000
96#define C_OSYNC 0x100000
97#define C_SPARSE 0x200000
98#define C_PAREVEN 0x400000
99#define C_PARODD 0x800000
100#define C_PARSET 0x1000000
101#define C_PARNONE 0x2000000
102
103#define C_PARITY (C_PAREVEN|C_PARODD|C_PARSET|C_PARNONE)