zig/lib/std/os
johnLate 23c28c72b7 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.
2020-10-27 21:52:47 +01:00
..
bits std: Add basic smoke test for net functionality 2020-10-27 21:52:47 +01:00
linux std/*: add missing MIT license headers 2020-10-26 17:41:29 +01:00
uefi Update zig files for opaque type syntax 2020-10-06 22:08:25 -06:00
windows std: Add basic smoke test for net functionality 2020-10-27 21:52:47 +01:00
bits.zig Merge branch 'master' into openbsd-minimal 2020-10-17 17:38:23 +02:00
darwin.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
dragonfly.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
freebsd.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
linux.zig std.os.linux.accept/accept4: allow null for addr and len 2020-10-27 21:52:47 +01:00
netbsd.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
openbsd.zig add minimal openbsd support 2020-10-11 08:23:36 +00:00
test.zig std: Add basic smoke test for net functionality 2020-10-27 21:52:47 +01:00
uefi.zig Update zig files for opaque type syntax 2020-10-06 22:08:25 -06:00
wasi.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
windows.zig Merge branch 'improve-windows-networking' 2020-10-22 16:59:15 -07:00