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

#include <sys/types.h>
#include <skalibs/allreadwrite.h>

size_t allread (int fd, char *buf, size_t len)
{
  return allreadwrite(&fd_read, fd, buf, len) ;
}