summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC/fd_set.h
AgeCommit message (Collapse)Author
2022-03-06LibC: Remove semicolon in definition of FD_ZEROAlex O'Brien
This causes problems in code of the form if (/* condition */) FD_ZERO(&thing); else do_other_thing(); Wrapping the call to memset() in a do/while block fixes the issue.
2021-08-22LibC: Modify fd_set to be compatible with X/OPENPeter Elliott
For some reason X/OPEN requires that fd_set has a field fds_bits. Xproto requires either fds_bits or _fds_bits to be present, so the field 'bits' was renamed 'fds_bits'
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-01-16LibC: Bump FD_SETSIZE to 1024Andreas Kling
64 was cutting it pretty close, especially now as we start using file descriptor passing more and more. This (1024) matches many other systems, and if we need more there's always sys$poll().
2021-01-12Libraries: Move to Userland/Libraries/Andreas Kling