chiark
/
gitweb
/
~mdw
/
qmail
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Release qmail 1.03-2
[qmail]
/
open_trunc.c
1
#include <sys/types.h>
2
#include <fcntl.h>
3
#include "open.h"
4
5
int open_trunc(fn) char *fn;
6
{ return open(fn,O_WRONLY | O_NDELAY | O_TRUNC | O_CREAT,0644); }