Logo Search packages:      
Sourcecode: safecat version File versions

open_trunc.c

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

int open_trunc(fn) char *fn;
{ return open(fn,O_WRONLY | O_NDELAY | O_TRUNC | O_CREAT,0644); }

Generated by  Doxygen 1.6.0   Back to index