summaryrefslogtreecommitdiff
path: root/src/libstddjb/allwrite.c
blob: 66bc5d25ec0c54cd7089805035c123a8aeef568a (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((iofunc_t_ref)&fd_write, fd, (char *)buf, len) ;
}