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

#include <sys/types.h>
#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) ;
}