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

#include <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) ;
}