summary refs log tree commit diff
path: root/src/open_append.c
blob: d1b241b46aa8457a618bc31de7255aea5495321c (plain) (blame)
1
2
3
4
5
6
7
8
/* Public domain. */

#include <sys/types.h>
#include <fcntl.h>
#include "open.h"

int open_append(const char *fn)
{ return open(fn,O_WRONLY | O_NDELAY | O_APPEND | O_CREAT,0600); }