#include #include #include "open.h" int open_append(const char *fn) { return open(fn,O_WRONLY | O_NONBLOCK | O_APPEND | O_CREAT,0600); }