librfn
An ad-hoc utility library
Functions
Hex dump

Hexidecimal dump to stdout or a FILE. More...

Functions

int hex_dump (unsigned char *p, size_t sz)
 
int hex_dump_to_file (FILE *f, unsigned char *p, size_t sz)
 
int hex_get_byte (const char *s, const char **p)
 

Detailed Description

Hexidecimal dump to stdout or a FILE.

Function Documentation

int hex_dump ( unsigned char *  p,
size_t  sz 
)

Definition at line 44 of file hex.c.

int hex_dump_to_file ( FILE *  f,
unsigned char *  p,
size_t  sz 
)

Definition at line 29 of file hex.c.

int hex_get_byte ( const char *  s,
const char **  p 
)

Definition at line 58 of file hex.c.