runit

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

open_write.c (155B)


      1 /* Public domain. */
      2 
      3 #include <sys/types.h>
      4 #include <fcntl.h>
      5 #include "open.h"
      6 
      7 int open_write(const char *fn)
      8 { return open(fn,O_WRONLY | O_NDELAY); }