akaros/tests/peek.c
<<
>>
Prefs
   1#include <stdio.h>
   2#include <stdlib.h>
   3
   4void main(int argc, char *argv[])
   5{
   6        argc--,argv++;
   7        while (argc > 0) {
   8                unsigned char *p = (void *)strtoul(argv[0], 0, 0);
   9
  10                printf("%p shows %02x\n", p, *p);
  11                argc--,argv++;
  12        }
  13}
  14