libtest demonstrates how to use shared libraries
committer: Markus Bröker <mbroeker@largo.homelinux.org>
/*
* $Id: hexdump.c 94 2008-04-05 01:27:30Z mbroeker $
* $URL: http://localhost/svn/c/lsflib/trunk/src/hexdump.c $
*
*/
#include <stdio.h>
void hexdump (char *s, int len)
{
int i;
for (i = 0; i < len; i++) {
printf ("%02X ", s[i]);
if ((i % 40) == 0)
printf ("\n");
}
}