diff options
Diffstat (limited to 'src/linux/eventfd_write.c')
-rw-r--r-- | src/linux/eventfd_write.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/linux/eventfd_write.c b/src/linux/eventfd_write.c deleted file mode 100644 index 734fa367..00000000 --- a/src/linux/eventfd_write.c +++ /dev/null @@ -1,7 +0,0 @@ -#include <sys/eventfd.h> -#include <unistd.h> - -int eventfd_write(int fd, eventfd_t value) -{ - return (sizeof(value) == write(fd, &value, sizeof(value))) ? 0 : -1; -} |