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

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

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