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

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