summaryrefslogtreecommitdiff
path: root/src/libunixonacid/buffer_timed_puts.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2022-10-28 23:13:15 +0000
committerLaurent Bercot <ska@appnovation.com>2022-10-28 23:13:15 +0000
commit4280d43e83deb0a9ed00ce362d3f01f273f24630 (patch)
treedbba3f1b50db0587289e386f594affd7fcfc5c9e /src/libunixonacid/buffer_timed_puts.c
parent7fe720f95ca1ce1cdd2c752d70edcbc0cf1836fc (diff)
downloadskalibs-4280d43e83deb0a9ed00ce362d3f01f273f24630.tar.xz
Prepare for 2.12.1.0; add buffer_timed_put(s)
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/libunixonacid/buffer_timed_puts.c')
-rw-r--r--src/libunixonacid/buffer_timed_puts.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libunixonacid/buffer_timed_puts.c b/src/libunixonacid/buffer_timed_puts.c
new file mode 100644
index 0000000..edc157a
--- /dev/null
+++ b/src/libunixonacid/buffer_timed_puts.c
@@ -0,0 +1,10 @@
+/* ISC license. */
+
+#include <string.h>
+
+#include <skalibs/unix-timed.h>
+
+size_t buffer_timed_puts (buffer *b, char const *s, tain const *deadline, tain *stamp)
+{
+ return buffer_timed_put(b, s, strlen(s), deadline, stamp) ;
+}