summaryrefslogtreecommitdiff
path: root/src/coe.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-14 21:28:19 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-14 21:28:19 +0200
commit1087d4df2a7342d2832ba3bab1843bf4a3040775 (patch)
tree96cd6ea198cc542f29c0660d5e5f7083af84d711 /src/coe.c
add version 0.12.10HEADmaster
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);
+}