wut/include
Daniel K. O. 1b412d2769
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
wutsocket fixes: select() handles timeout wrong, and poll() lacks a safety check (#428)
* - Fix select() to also update the fd_set arguments on timeout condition.
- Move the nfds argument restriction to the nsysnet side.
- Allow user-defined FD_SETSIZE, since newlib's fd_set allow custom sizes.
- Define __socklen_t_defined when socklen_t is typedefed.

* Added safety check for poll(): the nsysnet fd must fit in nsysnet_fd_set.

---------

Co-authored-by: Daniel K. O. (dkosmari) <none@none>
2025-10-10 20:27:42 +02:00
..
arpa Network socket changes (#136) 2021-03-07 13:09:12 +01:00
avm Run clang-format 2025-06-05 11:06:04 +01:00
camera Run clang-format 2025-06-05 11:06:04 +01:00
coreinit Run clang-format 2025-06-05 11:06:04 +01:00
dmae Fix formatting. 2020-05-07 15:29:59 +01:00
erreula Run clang-format 2025-06-05 11:06:04 +01:00
gx2 Run clang-format 2025-06-05 11:06:04 +01:00
gx2r Run clang-format 2025-06-05 11:06:04 +01:00
h264 Run clang-format 2025-06-05 11:06:04 +01:00
mic Run clang-format 2025-06-05 11:06:04 +01:00
netinet Run clang-format 2025-06-05 11:06:04 +01:00
nfc Run clang-format 2025-06-05 11:06:04 +01:00
nn Run clang-format 2025-06-05 11:06:04 +01:00
nsysccr Run clang-format 2025-06-05 11:06:04 +01:00
nsyshid Run clang-format 2025-06-05 11:06:04 +01:00
nsyskbd Run clang-format 2025-06-05 11:06:04 +01:00
nsysnet Run clang-format 2025-06-05 11:06:04 +01:00
nsysuhs Run clang-format 2025-06-05 11:06:04 +01:00
ntag Run clang-format 2025-06-05 11:06:04 +01:00
padscore Correct capitalization to WPADGetGameDataTimeStamp 2025-08-19 09:28:25 +02:00
proc_ui procui: Fix ProcUIInForeground and ProcUIIsRunning comments (#330) 2023-10-18 01:08:39 +02:00
sndcore2 Run clang-format 2025-06-05 11:06:04 +01:00
swkbd Run clang-format 2025-06-05 11:06:04 +01:00
sys wutsocket fixes: select() handles timeout wrong, and poll() lacks a safety check (#428) 2025-10-10 20:27:42 +02:00
sysapp Run clang-format 2025-06-05 11:06:04 +01:00
tve Run clang-format 2025-06-05 11:06:04 +01:00
vpad Run clang-format 2025-06-05 11:06:04 +01:00
vpadbase Run clang-format 2025-06-05 11:06:04 +01:00
netdb.h Run clang-format 2025-06-05 11:06:04 +01:00
poll.h Run clang-format 2025-06-05 11:06:04 +01:00
wut_rplwrap.h coreinit: Use rplwrap for exit (__rplwrap_exit) 2019-04-22 12:43:37 +10:00
wut_structsize.h Run clang-format 2025-06-05 11:06:04 +01:00
wut_types.h Run clang-format 2025-06-05 11:06:04 +01:00
wut.h Run clang-format 2025-06-05 11:06:04 +01:00