projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
eventfd syscall wrapper and read/write wrappers
[oweals/musl.git]
/
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
}