aboutsummaryrefslogtreecommitdiff
path: root/lib/std/os/bits/linux.zig
AgeCommit message (Collapse)Author
2019-12-22std: use simpler sigset_t definitiondaurnimator
2019-12-05fix castsVexu
2019-11-30linux-i386 supportLemonBoy
2019-11-25zig fmtAndrew Kelley
2019-11-25Merge pull request #3728 from ziglang/null-terminated-pointersAndrew Kelley
sentinel-terminated pointers
2019-11-25std: update for linux 5.4daurnimator
2019-11-25more sentinel-terminated pointers std lib integrationAndrew Kelley
See #3767
2019-11-08update the codebase to use `@as`Andrew Kelley
2019-11-08fixups and zig fmtAndrew Kelley
2019-10-31fix regression in std.os.dirent64 on linuxAndrew Kelley
2019-10-31DragonFlyBSD tidyupTse
2019-10-30Merge branch 'std.net'Andrew Kelley
2019-10-30DragonFlyBSD supportTse
2019-10-30fix os.sockaddr being a union instead of a structAndrew Kelley
2019-10-30canonicalize std.os IPPROTO constantsAndrew Kelley
2019-10-30make std.net more portableAndrew Kelley
* Delete `std.net.TmpWinAddr`. I don't think that was ever meant to be a real thing. * Delete `std.net.OsAddress`. This abstraction was not helpful. * Rename `std.net.Address` to `std.net.IpAddress`. It is now an extern union of IPv4 and IPv6 addresses. * Move `std.net.parseIp4` and `std.net.parseIp6` to the `std.net.IpAddress` namespace. They now return `IpAddress` instead of `u32` and `std.net.Ip6Addr`, which is deleted. * Add `std.net.IpAddress.parse` which accepts a port and parses either an IPv4 or IPv6 address. * Add `std.net.IpAddress.parseExpectingFamily` which additionally accepts a `family` parameter. * `std.net.IpAddress.initIp4` and `std.net.IpAddress.initIp6` are improved to directly take the address fields instead of a weird in-between type. * `std.net.IpAddress.port` is renamed to `std.net.IpAddress.getPort`. * Added `std.net.IpAddress.setPort`. * `os.sockaddr` struct on all targets is improved to match the corresponding system struct. Previously I had made it a union of sockaddr_in, sockaddr_in6, and sockaddr_un. The new abstraction for this is now `std.net.IpAddress`. * `os.sockaddr` and related bits are added for Windows. * `os.sockaddr` and related bits now have the `zero` fields default to zero initialization, and `len` fields default to the correct size. This is enough to abstract the differences across targets, and so no more switch on the target OS is needed in `std.net.IpAddress`. * Add the missing `os.sockaddr_un` on FreeBSD and NetBSD. * `std.net.IpAddress.initPosix` now takes a pointer to `os.sockaddr`.
2019-10-29basic DNS address resolution for linux without libcAndrew Kelley
2019-10-28move libc/linux bits aroundAndrew Kelley
2019-10-28partial no-libc implementation of std.net.getAddressListAndrew Kelley
2019-10-28std.net.getAddressListAndrew Kelley
2019-10-16improve docs and field names of Statx structAndrew Kelley
2019-10-12Add support for the statx syscallLemonBoy
2019-10-01Correct signal bits for MIPSLemonBoy
Also enable the segfault handler for all the supported architectures beside MIPS.
2019-09-26fix mipsel regression in previous commitAndrew Kelley
I think that should actually be a compile error, it's a usingnamespace that depends on itself. This workaround is fine for now.
2019-09-26fix some linux declarations not getting exposedAndrew Kelley
2019-09-26Errno changes for MIPSLemonBoy
2019-09-26Fix wrong IOCTL valueLemonBoy
2019-09-26Initial support for mipsel architecture¬LemonBoy
2019-09-25mv std/ lib/Andrew Kelley
that's all this commit does. further commits will fix cli flags and such. see #2221