summaryrefslogtreecommitdiff
path: root/src/libstddjb/open_write.c
blob: 14045c76cc221ecd7a813da2b6606ffc9e7a02ac (plain)
1
2
3
4
5
6
7
8
9
10
/* ISC license. */

#include <skalibs/nonposix.h>
#include <skalibs/fcntl.h>
#include <skalibs/djbunix.h>

int open_write (char const *fn)
{
  return open2(fn, O_WRONLY | O_NONBLOCK) ;
}