Commit 0cf3493
committed
emscripten: Add epoll support
Emscripten restored the `sys/epoll.h` header in 6.0.2 and implements
`epoll_create`, `epoll_create1`, `epoll_ctl`, `epoll_wait` and
`epoll_pwait` in the JS filesystem as of 6.0.8.
Version detection in libc-test now also tracks the tiny version
component so that point releases can be distinguished, and parses the
uppercase `__EMSCRIPTEN_MAJOR__` macro forms used since Emscripten
5.0.1, where the lowercase names became non-integer aliases.
Link: https://github.com/emscripten-core/emscripten/blob/4483d70a78098ed5d860dff2dc21f3025b2da2ee/system/lib/libc/musl/include/sys/epoll.h#L17
Link: https://github.com/emscripten-core/emscripten/blob/4483d70a78098ed5d860dff2dc21f3025b2da2ee/system/lib/libc/musl/include/sys/epoll.h#L70-L74
Link: emscripten-core/emscripten#27206
Link: emscripten-core/emscripten#272071 parent df65648 commit 0cf3493
3 files changed
Lines changed: 83 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3211 | 3211 | | |
3212 | 3212 | | |
3213 | 3213 | | |
| 3214 | + | |
| 3215 | + | |
| 3216 | + | |
3214 | 3217 | | |
3215 | 3218 | | |
3216 | 3219 | | |
| |||
3284 | 3287 | | |
3285 | 3288 | | |
3286 | 3289 | | |
3287 | | - | |
| 3290 | + | |
3288 | 3291 | | |
3289 | 3292 | | |
3290 | 3293 | | |
3291 | 3294 | | |
3292 | 3295 | | |
3293 | | - | |
3294 | | - | |
3295 | | - | |
| 3296 | + | |
| 3297 | + | |
| 3298 | + | |
3296 | 3299 | | |
3297 | 3300 | | |
3298 | 3301 | | |
| |||
3316 | 3319 | | |
3317 | 3320 | | |
3318 | 3321 | | |
3319 | | - | |
3320 | | - | |
3321 | | - | |
| 3322 | + | |
| 3323 | + | |
| 3324 | + | |
3322 | 3325 | | |
3323 | 3326 | | |
3324 | 3327 | | |
| |||
3332 | 3335 | | |
3333 | 3336 | | |
3334 | 3337 | | |
3335 | | - | |
| 3338 | + | |
| 3339 | + | |
| 3340 | + | |
| 3341 | + | |
| 3342 | + | |
| 3343 | + | |
| 3344 | + | |
| 3345 | + | |
| 3346 | + | |
3336 | 3347 | | |
3337 | 3348 | | |
3338 | 3349 | | |
| |||
3343 | 3354 | | |
3344 | 3355 | | |
3345 | 3356 | | |
3346 | | - | |
3347 | | - | |
3348 | | - | |
| 3357 | + | |
| 3358 | + | |
| 3359 | + | |
3349 | 3360 | | |
3350 | 3361 | | |
3351 | 3362 | | |
| |||
6283 | 6294 | | |
6284 | 6295 | | |
6285 | 6296 | | |
6286 | | - | |
| 6297 | + | |
6287 | 6298 | | |
6288 | 6299 | | |
6289 | 6300 | | |
| |||
6338 | 6349 | | |
6339 | 6350 | | |
6340 | 6351 | | |
6341 | | - | |
| 6352 | + | |
6342 | 6353 | | |
6343 | 6354 | | |
6344 | 6355 | | |
| |||
6433 | 6444 | | |
6434 | 6445 | | |
6435 | 6446 | | |
6436 | | - | |
6437 | | - | |
| 6447 | + | |
| 6448 | + | |
| 6449 | + | |
| 6450 | + | |
| 6451 | + | |
| 6452 | + | |
| 6453 | + | |
| 6454 | + | |
| 6455 | + | |
| 6456 | + | |
| 6457 | + | |
| 6458 | + | |
6438 | 6459 | | |
6439 | | - | |
6440 | | - | |
| 6460 | + | |
| 6461 | + | |
| 6462 | + | |
| 6463 | + | |
6441 | 6464 | | |
6442 | 6465 | | |
6443 | 6466 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
2 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
3 | 28 | | |
4 | 29 | | |
5 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
807 | 807 | | |
808 | 808 | | |
809 | 809 | | |
| 810 | + | |
| 811 | + | |
810 | 812 | | |
811 | 813 | | |
812 | 814 | | |
| |||
1477 | 1479 | | |
1478 | 1480 | | |
1479 | 1481 | | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
1480 | 1498 | | |
1481 | 1499 | | |
1482 | 1500 | | |
| |||
0 commit comments