summaryrefslogtreecommitdiff
path: root/src/coe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/coe.c')
-rw-r--r--src/coe.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/coe.c b/src/coe.c
new file mode 100644
index 0000000..50b2397
--- /dev/null
+++ b/src/coe.c
@@ -0,0 +1,9 @@
+/* Public domain. */
+
+#include <fcntl.h>
+#include "coe.h"
+
+int coe(int fd)
+{
+ return fcntl(fd,F_SETFD,1);
+}