summaryrefslogtreecommitdiff
path: root/src/libstddjb/allwrite.c
blob: c23025ce067b12b98d454e32938910e78e1b40c3 (plain)
1
2
3
4
5
6
7
8
9
/* ISC license. */

#include <skalibs/functypes.h>
#include <skalibs/allreadwrite.h>

size_t allwrite (int fd, char const *buf, size_t len)
{
  return allreadwrite((io_func_ref)&fd_write, fd, (char *)buf, len) ;
}