diff options
author | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-14 21:28:19 +0200 |
---|---|---|
committer | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-14 21:28:19 +0200 |
commit | 1087d4df2a7342d2832ba3bab1843bf4a3040775 (patch) | |
tree | 96cd6ea198cc542f29c0660d5e5f7083af84d711 /src/coe.c |
Diffstat (limited to 'src/coe.c')
-rw-r--r-- | src/coe.c | 9 |
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); +} |