Blob Blame History Raw
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>

#include <sofort/sofort.h>
#include "sofort_driver_impl.h"
#include "sofort_dprintf_impl.h"

int sfrt_output_name(
	const struct sfrt_driver_ctx *	dctx,
	const struct sfrt_unit_ctx *	uctx)
{
	return sfrt_dprintf(
		sfrt_driver_fdout(dctx),
		"%s\n",
		*uctx->path);
}