summaryrefslogtreecommitdiff
path: root/src/output/sfrt_output_name.c
blob: 7eb874e4b3938765706d57480fb8233ef21ca6af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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);
}