release
[hcoop/zz_old/debian/djbdns.git] / open_trunc.c
CommitLineData
dc0d77d7
CE
1#include <sys/types.h>
2#include <fcntl.h>
3#include "open.h"
4
5int open_trunc(const char *fn)
6{ return open(fn,O_WRONLY | O_NDELAY | O_TRUNC | O_CREAT,0644); }