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

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

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