hexdump.c (102944) | hexdump.c (200420) |
---|---|
1/* 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 29 unchanged lines hidden (view full) --- 38#endif /* not lint */ 39 40#ifndef lint 41#if 0 42static char sccsid[] = "@(#)hexdump.c 8.1 (Berkeley) 6/6/93"; 43#endif 44#endif /* not lint */ 45#include <sys/cdefs.h> | 1/* 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 29 unchanged lines hidden (view full) --- 38#endif /* not lint */ 39 40#ifndef lint 41#if 0 42static char sccsid[] = "@(#)hexdump.c 8.1 (Berkeley) 6/6/93"; 43#endif 44#endif /* not lint */ 45#include <sys/cdefs.h> |
46__FBSDID("$FreeBSD: head/usr.bin/hexdump/hexdump.c 102944 2002-09-04 23:29:10Z dwmalone $"); | 46__FBSDID("$FreeBSD: head/usr.bin/hexdump/hexdump.c 200420 2009-12-11 23:35:38Z delphij $"); |
47 48#include <sys/types.h> 49#include <locale.h> 50#include <stdlib.h> | 47 48#include <sys/types.h> 49#include <locale.h> 50#include <stdlib.h> |
51#include <stdio.h> | |
52#include <string.h> 53#include "hexdump.h" 54 55FS *fshead; /* head of format strings */ 56int blocksize; /* data block size */ 57int exitval; /* final exit value */ 58int length = -1; /* max bytes to read */ 59 --- 27 unchanged lines hidden --- | 51#include <string.h> 52#include "hexdump.h" 53 54FS *fshead; /* head of format strings */ 55int blocksize; /* data block size */ 56int exitval; /* final exit value */ 57int length = -1; /* max bytes to read */ 58 --- 27 unchanged lines hidden --- |