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 200462 2009-12-13 03:14:06Z delphij $"); |
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 --- |