s/qmail  3.3.23
Next generation secure email transport
open_trunc.c
Go to the documentation of this file.
1 #include <sys/types.h>
2 #include <fcntl.h>
3 #include "open.h"
4 
5 int open_trunc(char *fn)
6 {
7  return open(fn,O_WRONLY | O_NDELAY | O_TRUNC | O_CREAT,0644);
8 }
stralloc fn
Definition: qmail-send.c:90
int open_trunc(char *fn)
Definition: open_trunc.c:5