summaryrefslogtreecommitdiff
path: root/sysutils/safecat/files/patch-ae
blob: 4b42ba92e90c5d501149f48cc92000f48c341d69 (plain) (blame)
1
2
3
4
5
6
7
8
9
--- /dev/null	Tue Nov 21 12:27:45 2000
+++ open_excl.c	Tue Nov 21 11:17:15 2000
@@ -0,0 +1,6 @@
+#include <sys/types.h>
+#include <fcntl.h>
+#include "open.h"
+
+int open_excl(fn) char *fn;
+{ return open(fn,O_WRONLY | O_EXCL | O_CREAT,0644); }