ucspi-ssl  0.99e
TLS encryption for IPv6 communication
open_trunc.c
Go to the documentation of this file.
1 /* Public domain. */
2 
3 #include <sys/types.h>
4 #include <fcntl.h>
5 #include "open.h"
6 
7 int open_trunc(const char *fn)
8 { return open(fn,O_WRONLY | O_NDELAY | O_TRUNC | O_CREAT,0644); }
int open_trunc(const char *fn)
Definition: open_trunc.c:7