From 3534b428629be185e096be99e3bd5fdfe32d5544 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 18 Sep 2014 18:55:44 +0000 Subject: initial commit with rc for skalibs-2.0.0.0 --- src/libstddjb/allwrite.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/libstddjb/allwrite.c (limited to 'src/libstddjb/allwrite.c') diff --git a/src/libstddjb/allwrite.c b/src/libstddjb/allwrite.c new file mode 100644 index 0000000..61c8ad7 --- /dev/null +++ b/src/libstddjb/allwrite.c @@ -0,0 +1,8 @@ +/* ISC license. */ + +#include + +unsigned int allwrite (int fd, char const *buf, unsigned int len) +{ + return allreadwrite((iofunc_t_ref)&fd_write, fd, (char *)buf, len) ; +} -- cgit v1.2.3