From 90cd52ece1623f9b872837a88504faeb9fd593f6 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 24 Apr 2020 19:47:41 +0200 Subject: Second commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libaxl_get_decnet_object.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 libaxl_get_decnet_object.c (limited to 'libaxl_get_decnet_object.c') diff --git a/libaxl_get_decnet_object.c b/libaxl_get_decnet_object.c new file mode 100644 index 0000000..a744fd2 --- /dev/null +++ b/libaxl_get_decnet_object.c @@ -0,0 +1,8 @@ +/* See LICENSE file for copyright and license details. */ +#include "common.h" + +int +libaxl_get_decnet_object(char *buf, size_t size, int display) +{ + return snprintf(buf, size, "X$X%i", display); +} -- cgit v1.2.3-70-g09d2