skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

open_write.c (187B)


      1 /* ISC license. */
      2 
      3 #include <skalibs/nonposix.h>
      4 #include <skalibs/fcntl.h>
      5 #include <skalibs/djbunix.h>
      6 
      7 int open_write (char const *fn)
      8 {
      9   return open2(fn, O_WRONLY | O_NONBLOCK) ;
     10 }