18 void myputs(const char *str
)
26 static char hello_str
[] = "Hello, World!";
28 printf("%s from (%s)\n", hello_str
, __FILE__
); /* testing */
31 void hexdump(void *buf
, int bytelen
, const char *str
)
36 printf("Dump %s:\n", str
);
38 p32
= (unsigned int *)buf
;
39 for (i
= 0; i
< (bytelen
/ 4); i
++){
40 printf(" 0x%08x ", p32
[i
]);
45 static inline void myprint(int num
)
49 for (i
= 0; i
< 5; i
++)