RTEMS CPU Kit with SuperCore
4.11.2
|
#include <sys/param.h>
#include <sys/stat.h>
#include <stdint.h>
#include <ctype.h>
#include <err.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "hexdump.h"
Macros | |
#define | bcmp(s1, s2, sz) memcmp(s1,s2,sz) |
#define | bcopy(s, d, sz) memcpy(d,s,sz) |
#define | bzero(s, sz) memset(s,0,sz) |
#define | index(s, c) strchr(s,c) |
Functions | |
void | display (rtems_shell_hexdump_globals *globals) |
void | bpad (PR *pr) |
u_char * | get (rtems_shell_hexdump_globals *globals) |
size_t | peek (rtems_shell_hexdump_globals *globals, u_char *buf, size_t nbytes) |
int | next (rtems_shell_hexdump_globals *globals, char **argv) |
void | doskip (rtems_shell_hexdump_globals *globals, const char *fname, int statok) |