diff options
| author | Brandon Black <bblack@wikimedia.org> | 2025-09-09 16:39:13 -0500 |
|---|---|---|
| committer | Brandon Black <bblack@wikimedia.org> | 2025-09-09 16:59:50 -0500 |
| commit | c449a30213d1252a4dd65e5a7fde9bea9f2ab76f (patch) | |
| tree | 5a05a8ef792d3ac290d369c37dc8276bdbcaaf49 /lib/std/Build | |
| parent | c70521e7b1d09d70ecf7dac9638f02a3961249de (diff) | |
| download | zig-c449a30213d1252a4dd65e5a7fde9bea9f2ab76f.tar.gz zig-c449a30213d1252a4dd65e5a7fde9bea9f2ab76f.zip | |
std.c: Add accept_filter_arg for some BSDs
This is the struct type used as set/getsockopt() option data with
SO.ACCEPTFILTER, which is also only declared on this same limited
set of BSD-ish targets.
In theory this could be aliased over to std.posix as well, but I
think for a corner case like this, it's not unreasonable for a
user that is avoiding uneccessary std.c references to access it as
"posix.system.accept_filter_arg" (which would still work fine if,
in the future, FreeBSD escapes its libc dep and defines it in
std.os.freebsd).
Diffstat (limited to 'lib/std/Build')
0 files changed, 0 insertions, 0 deletions
