summaryrefslogtreecommitdiff
path: root/src/libunixonacid/open_readat.c
blob: 05f6926d671bfb625777277c79fdc2807fe0e2d1 (plain)
1
2
3
4
5
6
7
8
9
/* ISC license. */

#include <fcntl.h>
#include <skalibs/unix-transactional.h>

int open_readat (int fd, char const *name)
{
  return open2_at(fd, name, O_RDONLY | O_NONBLOCK) ;
}