aboutsummaryrefslogtreecommitdiff
path: root/lib/std/os
AgeCommit message (Collapse)Author
2020-09-25Add clarification commentSuirad
2020-09-25Stdlib fix for os.windows.deleteFile to fail withSuirad
a proper error when attempting to delete a directory that isnt empty
2020-09-21Merge remote-tracking branch 'origin/master' into stage2-zig-ccAndrew Kelley
2020-09-21Define SPLICE, PROVIDE_BUFFERS, REMOVE_BUFFERS and TEE opcodes and flagsJoran Dirk Greef
2020-09-21Use @intCast instead of @truncateJoran Dirk Greef
2020-09-21Add flags to queue_fsync() signature as per liburingJoran Dirk Greef
2020-09-21Use @intCast instead of @truncate on io_uring_enter() resultJoran Dirk Greef
2020-09-21Cache mask instead of dereferencing mask pointerJoran Dirk Greef
2020-09-21Add io_uring syscalls to os.bits.linux.mips.SYSJoran Dirk Greef
As per lib/libc/musl/arch/mips/bits/syscall.h.in: ```c ```
2020-09-20Add IORING_FEAT_FAST_POLLJoran Dirk Greef
2020-09-20Test structs and offsetsJoran Dirk Greef
2020-09-20Make enter(), flush_sq(), sq_ring_needs_enter(), cq_ring_needs_flush() publicJoran Dirk Greef
These will also be needed by any custom helpers
2020-09-20Add safety checksJoran Dirk Greef
2020-09-20Fix opcode support detection for read/write testJoran Dirk Greef
2020-09-20Use os.fd_t instead of i32 and assert against c_int for syscall safetyJoran Dirk Greef
2020-09-20Handle all possible syscall errors and bring errors in line with os.zigJoran Dirk Greef
2020-09-19Fix io_uring_sqe to use the names of the first member of each unionJoran Dirk Greef
Now we're really future-proof... no more `opflags` creeping in. When anonymous unions land, we can start using `accept_flags` etc. Until then, code using this struct won't break when the kernel adds features. Refs: https://github.com/ziglang/zig/issues/6349 Refs: https://github.com/ziglang/zig/issues/985
2020-09-19Upgrade check_errno() to an exhaustive switch (safer)Joran Dirk Greef
2020-09-19Zero the SQE slot and assign, instead of initializing with default valuesJoran Dirk Greef
2020-09-19Remove default values from io_uring_sqe structJoran Dirk Greef
2020-09-19Allow the kernel to drive feature detectionJoran Dirk Greef
2020-09-19Rename to error.SubmissionQueueFullJoran Dirk Greef
2020-09-19Remove unused import aliasesJoran Dirk Greef
2020-09-19Return error.UnsupportedKernel for ENOSYSJoran Dirk Greef
2020-09-19Use linux.IORING_SQ_CQ_OVERFLOWJoran Dirk Greef
2020-09-19Move to std/os/linuxJoran Dirk Greef
2020-09-19Add splice_fd_in to io_uring_sqe and future-proof for anonymous unionsJoran Dirk Greef
2020-09-17Add rename to std.fs APIRyan Liptak
- Moves fs.rename functions to fs.renameAbsolute to match other functions outside of fs.Dir - Adds fs.Dir.rename that takes two paths relative to the given Dir - Adds fs.rename that takes two separate Dir's that the given paths are relative to (for renaming across directories without having to make the second path relative to a single directory) - Fixes FileNotFound error return in std.os.windows.MoveFileExW - Returns error.RenameAcrossMountPoints from renameatW + Matches the RenameAcrossMountPoints error return in renameatWasi/renameatZ
2020-09-17Add IORING_SQ_CQ_OVERFLOW to std/os/bits/linux.zigJoran Dirk Greef
2020-09-15std: handle sharing violation when deleting a file on windowsAndrew Kelley
2020-09-13changed to opaqueMatt Knight
2020-09-13removed all those kern aliasesMatt Knight
2020-09-13got booleans wrongMatt Knight
2020-09-12added helper definitionsMatt Knight
2020-09-11std: add securebits definitions for linuxIsaac Freund
2020-09-11std: add prctl definition for linuxIsaac Freund
2020-09-10update the stack trace test case for lines added to start.zigAndrew Kelley
2020-09-10Merge pull request #5527 from shawnanastasio/ppc64leAndrew Kelley
Implement support for powerpc64{,le}
2020-09-10implement poll for windows with WSAPoll (only available on vista and higher)Bas van den Berg
2020-09-08Add the Linux TCP socket optionsJens Goldberg
2020-09-08Merge pull request #6267 from mattnite/btfAndrew Kelley
BPF: add BTF
2020-09-08change socklen_t to u32 and add appropriate casts when calling WSABas van den Berg
2020-09-08Merge branch 'master' into improve-windows-networkingBas
2020-09-07added map create, update, delete, and prog loadMatt Knight
2020-09-07BPF: add some more documentation (#6268)Matthew Knight
* added documentation for ringbuffers, which context type maps to which program type, and added some formatting
2020-09-07added license commentsMatt Knight
2020-09-07changed enums to lower caseMatt Knight
2020-09-06fixed missing 'packed' keywordMatt Knight
2020-09-06added btfMatt Knight
2020-09-06fixed improper builtin importMatt Knight