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

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

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