openc_appendat.c (253B)
1 /* ISC license. */ 2 3 #include <sys/stat.h> 4 5 #include <skalibs/fcntl.h> 6 #include <skalibs/unix-transactional.h> 7 8 int openc_appendat (int fd, char const *name) 9 { 10 return open3_at(fd, name, O_WRONLY | O_NONBLOCK | O_APPEND | O_CREAT | O_CLOEXEC, 0666) ; 11 }