Commit 1ec4e59
committed
Auto merge of #3437 - SteveLauC:eventfd_read, r=JohnTitor
feat: eventfd_read/write for Android/FreeBSD/Linux
Add
```c
int eventfd_read(int fd, eventfd_t *value);
int eventfd_write(int fd, eventfd_t value);
```
for
* Android
* [FreeBSD](https://man.freebsd.org/cgi/man.cgi?query=eventfd&apropos=0&sektion=2&manpath=FreeBSD+13.2-RELEASE&arch=default&format=html)
* [Linux](https://man7.org/linux/man-pages/man2/eventfd.2.html)File tree
7 files changed
+22
-0
lines changed- libc-test
- semver
- src/unix
- bsd/freebsdlike/freebsd
- linux_like
- android
- linux
7 files changed
+22
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2417 | 2417 | | |
2418 | 2418 | | |
2419 | 2419 | | |
| 2420 | + | |
| 2421 | + | |
2420 | 2422 | | |
2421 | 2423 | | |
2422 | 2424 | | |
| |||
2494 | 2496 | | |
2495 | 2497 | | |
2496 | 2498 | | |
| 2499 | + | |
| 2500 | + | |
2497 | 2501 | | |
2498 | 2502 | | |
2499 | 2503 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3756 | 3756 | | |
3757 | 3757 | | |
3758 | 3758 | | |
| 3759 | + | |
| 3760 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2245 | 2245 | | |
2246 | 2246 | | |
2247 | 2247 | | |
| 2248 | + | |
| 2249 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3842 | 3842 | | |
3843 | 3843 | | |
3844 | 3844 | | |
| 3845 | + | |
| 3846 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
| |||
5383 | 5385 | | |
5384 | 5386 | | |
5385 | 5387 | | |
| 5388 | + | |
| 5389 | + | |
5386 | 5390 | | |
5387 | 5391 | | |
5388 | 5392 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| |||
3566 | 3568 | | |
3567 | 3569 | | |
3568 | 3570 | | |
| 3571 | + | |
| 3572 | + | |
3569 | 3573 | | |
3570 | 3574 | | |
3571 | 3575 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
5092 | 5093 | | |
5093 | 5094 | | |
5094 | 5095 | | |
| 5096 | + | |
| 5097 | + | |
| 5098 | + | |
5095 | 5099 | | |
5096 | 5100 | | |
5097 | 5101 | | |
| |||
0 commit comments