/[mcrypt]/libmcrypt-nm/lib/debug.c
ViewVC logotype

Contents of /libmcrypt-nm/lib/debug.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (vendor branch)
Mon May 22 13:08:54 2000 UTC (23 years, 10 months ago) by nmav
Branch: MAIN, mcrypt
CVS Tags: start, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/plain

1 /* $Id: debug.c,v 1.2 1999/10/20 03:38:11 nmav Exp $ */
2
3 #include <stdio.h>
4
5 void view(char *desc, void *x, int sizeofx)
6 {
7 int j;
8 unsigned char *y = x;
9
10 fprintf(stderr, "%s: ", desc);
11 for (j = 0; j < sizeofx; j++) {
12 fprintf(stderr, "%.2x", y[j]);
13 }
14 fprintf(stderr, "\n");
15 }

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26