misc.c (33776) | misc.c (35773) |
---|---|
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 * --- 19 unchanged lines hidden (view full) --- 28 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 29 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 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. | 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 * --- 19 unchanged lines hidden (view full) --- 28 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 29 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 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 * $Id: misc.c,v 1.11 1998/02/11 02:23:31 asami Exp $ | |
38 */ 39 40#ifndef lint | 36 */ 37 38#ifndef lint |
39#if 0 |
|
41static char const sccsid[] = "@(#)misc.c 8.3 (Berkeley) 4/2/94"; | 40static char const sccsid[] = "@(#)misc.c 8.3 (Berkeley) 4/2/94"; |
41#endif 42static const char rcsid[] = 43 "$Id$"; |
|
42#endif /* not lint */ 43 | 44#endif /* not lint */ 45 |
44#include <sys/types.h> | |
45#include <sys/time.h> 46 | 46#include <sys/time.h> 47 |
47#include <err.h> | |
48#include <errno.h> 49#include <stdio.h> | 48#include <errno.h> 49#include <stdio.h> |
50#include <stdlib.h> 51#include <string.h> 52#include <time.h> | |
53#include <unistd.h> 54 55#include "dd.h" 56#include "extern.h" 57 58void 59summary() 60{ --- 49 unchanged lines hidden --- | 50#include <unistd.h> 51 52#include "dd.h" 53#include "extern.h" 54 55void 56summary() 57{ --- 49 unchanged lines hidden --- |