aboutsummaryrefslogtreecommitdiff
path: root/lib/std/debug.zig
diff options
context:
space:
mode:
authorjohnLate <inbox-121@johnlate.scnr.net>2020-10-27 08:00:35 +0100
committerLemonBoy <thatlemon@gmail.com>2020-10-27 21:52:47 +0100
commit23c28c72b7a5d9a3df3fc96ac9ab419fafeae819 (patch)
tree7c17435691a5d3755057715603c7ae424ad6bba4 /lib/std/debug.zig
parent8044ed4c66840503186fc3bbeac4328c6cf76349 (diff)
downloadzig-23c28c72b7a5d9a3df3fc96ac9ab419fafeae819.tar.gz
zig-23c28c72b7a5d9a3df3fc96ac9ab419fafeae819.zip
std.os.linux.accept/accept4: allow null for addr and len
std.os.accept already wants to allow null, which matches `man 3p accept`: > address Either a null pointer, or a pointer to a sockaddr structure > where the address of the connecting socket shall be re‐ > turned. > > address_len Either a null pointer, if address is a null pointer, or a > pointer to a socklen_t object which on input specifies the > length of the supplied sockaddr structure, and on output > specifies the length of the stored address. Fixes ziglang#6832.
Diffstat (limited to 'lib/std/debug.zig')
0 files changed, 0 insertions, 0 deletions