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

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