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

#include <sys/types.h>
#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) ;
}