Re: [RFC] convert a host address to a string

Mark Kettenis
2009-01-11T13:53:52Z

> Date: Sun, 11 Jan 2009 17:30:42 +0400
> From: Joel Brobecker <brobecker@adacore.com>
>
> Mark,
>
> > You're right. So something like:
> >
> > {
> > char *result = get_cell ();
> > xsnprintf (result, CELLSIZE, "0x%s", phex_nz((uintptr_t)addr, sizeof(addr)));
> > return result;
> > }
> >
> > perhaps?
>
> Thanks for the suggestion.
> Let me know if you'd like me to test your patch and then commit it
> for you...

Please do. I'm glad I can say that I'm not running Windows on any
machine I own, so I have no way to test.