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

#include <fcntl.h>

#include <skalibs/unix-transactional.h>

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