Blame src/output/sfrt_output_address.c

f46039
#include <stdint.h>
f46039
#include <stdlib.h>
f46039
#include <stdio.h>
f46039
#include <string.h>
f46039
#include <errno.h>
f46039
f46039
#include <sofort/sofort.h>
2dfa01
#include "sofort_driver_impl.h"
2dfa01
#include "sofort_dprintf_impl.h"
f46039
2dfa01
int sfrt_output_address(
2dfa01
	const struct sfrt_driver_ctx *	dctx,
2dfa01
	const struct sfrt_unit_ctx *	uctx)
f46039
{
2dfa01
	return sfrt_dprintf(
2dfa01
		sfrt_driver_fdout(dctx),
2dfa01
		"%*p\n",
2dfa01
		(int)(2*sizeof(size_t)),
2dfa01
		uctx->map->addr);
f46039
}