projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
734fa367379635707f114c3e7aacf758dbc2c394
[musl]
/
src
/
linux
/
eventfd_write.c
1
#include <sys/eventfd.h>
2
#include <unistd.h>
3
4
int eventfd_write(int fd, eventfd_t value)
5
{
6
return (sizeof(value) == write(fd, &value, sizeof(value))) ? 0 : -1;
7
}