Deleted Added
full compact
position.c (99109) position.c (111629)
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 *

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

36 */
37
38#ifndef lint
39#if 0
40static char sccsid[] = "@(#)position.c 8.3 (Berkeley) 4/2/94";
41#endif
42#endif /* not lint */
43#include <sys/cdefs.h>
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 *

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

36 */
37
38#ifndef lint
39#if 0
40static char sccsid[] = "@(#)position.c 8.3 (Berkeley) 4/2/94";
41#endif
42#endif /* not lint */
43#include <sys/cdefs.h>
44__FBSDID("$FreeBSD: head/bin/dd/position.c 99109 2002-06-30 05:13:54Z obrien $");
44__FBSDID("$FreeBSD: head/bin/dd/position.c 111629 2003-02-27 18:04:54Z markm $");
45
46#include <sys/types.h>
47#include <sys/mtio.h>
48
49#include <err.h>
50#include <errno.h>
45
46#include <sys/types.h>
47#include <sys/mtio.h>
48
49#include <err.h>
50#include <errno.h>
51#include <inttypes.h>
51#include <unistd.h>
52
53#include "dd.h"
54#include "extern.h"
55
56/*
57 * Position input/output data streams before starting the copy. Device type
58 * dependent. Seekable devices use lseek, and the rest position by reading.

--- 128 unchanged lines hidden ---
52#include <unistd.h>
53
54#include "dd.h"
55#include "extern.h"
56
57/*
58 * Position input/output data streams before starting the copy. Device type
59 * dependent. Seekable devices use lseek, and the rest position by reading.

--- 128 unchanged lines hidden ---