zig/lib/std
Andrew Kelley f612d5ae96 std: remove error.BrokenPipe from file reads, add error.EndOfStream
and make reading file streaming allowed to return 0 byte reads.
According to Microsoft documentation, on Windows it is possible to get
0-byte reads from pipes when 0-byte writes are made.
2026-01-27 15:33:46 -08:00
..
Build zig fmt 2026-01-27 07:05:14 +01:00
builtin std.builtin.assembly: add Clobbers for kvx 2025-11-10 09:40:42 +01:00
c std.c.netbsd: change type of _ksiginfo.signo to std.c.SIG 2026-01-19 13:16:03 +01:00
compress std: replace usages of std.mem.indexOf with std.mem.find 2025-12-05 14:31:27 +01:00
crypto crypto.ff: allow seamless chaining regardless of representation (#30913) 2026-01-25 17:42:01 +01:00
debug std: move memory locking and memory protection to process 2026-01-09 13:52:00 -08:00
dwarf fix compiler ftbfs from std.macho and std.dwarf changes 2025-09-30 13:44:51 +01:00
fmt all: replace all @Type usages 2025-11-22 22:42:38 +00:00
fs std.fs.test: fix file operations on directories on NetBSD 2026-01-21 16:42:02 +01:00
hash Fix benchmarks after the randomness changes 2026-01-13 07:04:51 +01:00
heap std.heap.DebugAllocator: fix account total_requested_bytes on resizeSmall 2026-01-27 00:09:48 +01:00
http std.http.test: disable tests on openbsd 2026-01-12 18:44:32 +01:00
Io std: remove error.BrokenPipe from file reads, add error.EndOfStream 2026-01-27 15:33:46 -08:00
json fix more fallout from locking stderr 2025-12-23 22:15:10 -08:00
math libzigc: test and fix acos 2026-01-20 18:02:15 +01:00
mem std.mem.Allocator: fix resize doc comment 2025-10-22 11:41:16 +02:00
meta all: replace all @Type usages 2025-11-22 22:42:38 +00:00
os std.Io.Threaded: avoid extra fields of Thread 2026-01-27 15:32:34 -08:00
posix std.fs.test: fix tests using Dir.realPath 2026-01-21 16:41:37 +01:00
process std: find a better home for the "preopens" concept 2026-01-08 05:06:31 +01:00
Random feat(std.Random): add a linear congruent generator 2026-01-14 12:48:09 +01:00
sort std.sort.pdq: fix out-of-bounds access in partialInsertionSort (#25253) 2025-09-17 19:54:15 -07:00
tar all: prefer else => |e| return e, over else => return err, 2026-01-11 11:37:17 +00:00
Target std.Target.x86: refresh from update_cpu_features.zig 2025-11-13 22:29:28 +01:00
testing fix compile errors and minor bugs 2025-09-30 13:44:54 +01:00
Thread std.Thread.Condition: use pthread_cond_t impl when OS has no futex primitive 2026-01-24 16:44:55 +01:00
time std.time.epoch: change getDaysInMonth to accept the year as an argument 2025-03-08 14:25:28 -05:00
tz
unicode update all occurrences of std.fs.File to std.Io.File 2025-12-23 22:15:07 -08:00
valgrind Remove numerous things deprecated during the 0.14 release cycle 2025-07-11 08:17:43 +02:00
zig std: remove error.BrokenPipe from file reads, add error.EndOfStream 2026-01-27 15:33:46 -08:00
zon update deprecated ArrayListUnmanaged usage (#25958) 2025-11-20 14:46:23 -08:00
array_hash_map.zig update deprecated ArrayListUnmanaged usage (#25958) 2025-11-20 14:46:23 -08:00
array_list.zig std.MultiArrayList: add *Bounded variants and initCapacity 2026-01-04 03:05:34 +01:00
ascii.zig feat(std.ascii): add boundedOrderIgnoreCaseZ 2026-01-17 21:42:38 +01:00
atomic.zig std.atomic: define cache line size for alpha, hppa, microblaze, sh 2025-10-23 09:27:17 +02:00
base64.zig Base64DecoderWithIgnore.calcSizeUpperBound cannot return an error (#25834) 2025-11-07 08:16:34 +01:00
bit_set.zig std.bit_set: Disable IntegerBitSet decltest on RISC-V with vector support 2025-07-01 23:03:15 +02:00
BitStack.zig std.ArrayList: make unmanaged the default 2025-08-11 15:52:49 -07:00
buf_map.zig
buf_set.zig
Build.zig std.Build: adjust temp files API 2026-01-04 17:23:45 -08:00
builtin.zig Merge pull request '@extern: add support for SPIR-V locations and descriptors' (#30570) from ashpil/zig:extern-bindings-locations into master 2026-01-06 23:44:10 +01:00
c.zig feat(std.c): add _Exit 2026-01-24 20:41:15 +01:00
coff.zig std: replace usages of std.mem.indexOf with std.mem.find 2025-12-05 14:31:27 +01:00
compress.zig std.compress: rework flate to new I/O API 2025-07-31 22:10:11 -07:00
crypto.zig update API usage of std.crypto.random to io.random 2026-01-07 11:03:36 -08:00
debug.zig std.debug: use debug_io for the futex in waitForOtherThreadToFinishPanicking 2026-01-27 05:37:01 +01:00
deque.zig std: remove loop from growCapacity 2025-09-20 14:34:18 -07:00
DoublyLinkedList.zig *LinkedList.remove() assumes node is in the list 2025-10-25 21:10:02 -07:00
dwarf.zig
dynamic_library.zig std: move memory locking and memory protection to process 2026-01-09 13:52:00 -08:00
elf.zig std: replace usages of std.mem.indexOf with std.mem.find 2025-12-05 14:31:27 +01:00
enums.zig Fixes enums.fromInt failing at compile time on in range but invalid values 2025-12-22 14:19:18 +01:00
fmt.zig std: replace usages of std.mem.indexOf with std.mem.find 2025-12-05 14:31:27 +01:00
fs.zig std: find a better home for the "preopens" concept 2026-01-08 05:06:31 +01:00
gpu.zig remove std.gpu.(binding|location) 2025-12-22 10:00:35 -08:00
hash.zig all: replace all @Type usages 2025-11-22 22:42:38 +00:00
hash_map.zig std: replace usages of std.mem.indexOf with std.mem.find 2025-12-05 14:31:27 +01:00
heap.zig std: workaround for #30842 2026-01-15 14:18:20 -08:00
http.zig update all occurrences of std.fs.File to std.Io.File 2025-12-23 22:15:07 -08:00
Io.zig std: remove error.BrokenPipe from file reads, add error.EndOfStream 2026-01-27 15:33:46 -08:00
json.zig std.Io: delete GenericReader 2025-08-29 17:14:26 -07:00
leb128.zig std.Io: delete GenericReader 2025-08-29 17:14:26 -07:00
log.zig std: integrate DebugAllocator with terminal mode 2025-12-26 19:58:56 -08:00
macho.zig std: move memory locking and memory protection to process 2026-01-09 13:52:00 -08:00
math.zig all: replace all @Type usages 2025-11-22 22:42:38 +00:00
mem.zig std.mem.readVarInt: Fix type name in doc comment (#31007) 2026-01-27 05:29:51 +01:00
meta.zig std.meta.hasUniqueRepresentation: consider enum tag type 2026-01-08 09:24:12 +01:00
multi_array_list.zig std.MultiArrayList: add *Bounded variants and initCapacity 2026-01-04 03:05:34 +01:00
once.zig
os.zig std: start wrangling environment variables and process args 2026-01-04 00:27:07 -08:00
pdb.zig update all occurrences of std.fs.File to std.Io.File 2025-12-23 22:15:07 -08:00
pie.zig std.pie: add missing clobbers on alpha and sparc 2025-11-14 12:19:38 +01:00
posix.zig Disentangle from error.CurrentWorkingDirectoryUnlinked 2026-01-27 20:48:25 +01:00
priority_dequeue.zig std.ArrayList: make unmanaged the default 2025-08-11 15:52:49 -07:00
priority_queue.zig std: replace usages of std.mem.indexOf with std.mem.find 2025-12-05 14:31:27 +01:00
process.zig Disentangle from error.CurrentWorkingDirectoryUnlinked 2026-01-27 20:48:25 +01:00
Progress.zig std: remove error.BrokenPipe from file reads, add error.EndOfStream 2026-01-27 15:33:46 -08:00
Random.zig feat(std.Random): add a linear congruent generator 2026-01-14 12:48:09 +01:00
SemanticVersion.zig std: replace usages of std.mem.indexOf with std.mem.find 2025-12-05 14:31:27 +01:00
simd.zig std.simd: suggest 1024-bit vectors for kvx 2025-11-10 09:40:44 +01:00
SinglyLinkedList.zig SinglyLinkedList.remove docs: Assumes -> asserts 2025-10-25 21:28:54 -07:00
sort.zig std.sort.partitionPoint: faster implementation (#30005) 2025-11-27 20:48:54 +01:00
start.zig std: use sigaltstack for default segfault handler 2026-01-13 07:24:49 +01:00
static_string_map.zig
std.zig std: use sigaltstack for default segfault handler 2026-01-13 07:24:49 +01:00
tar.zig std: rename other Dir "make" functions to "create" 2025-12-23 22:15:11 -08:00
Target.zig android: detect native ABI and API level correctly 2026-01-09 02:47:13 +01:00
testing.zig testing: ability to read environment variables from unit tests 2026-01-17 00:40:22 +01:00
Thread.zig std: use sigaltstack for default segfault handler 2026-01-13 07:24:49 +01:00
time.zig represent Mac Catalyst as aarch64-maccatalyst-none rather than aarch64-ios-macabi 2025-11-14 11:33:35 +01:00
treap.zig std.ArrayList: make unmanaged the default 2025-08-11 15:52:49 -07:00
tz.zig std.tz: fix redundant endian handling 2025-08-28 18:30:57 -07:00
unicode.zig std: move some windows path checking logic 2025-10-29 06:20:50 -07:00
Uri.zig std: replace usages of std.mem.indexOf with std.mem.find 2025-12-05 14:31:27 +01:00
valgrind.zig remove condition codes 2025-07-16 10:27:39 -07:00
wasm.zig
zig.zig fix native path lookup on macOS 2026-01-04 00:27:08 -08:00
zip.zig std: rename other Dir "make" functions to "create" 2025-12-23 22:15:11 -08:00
zon.zig zon: Add anonymous struct literal in the example 2025-08-15 23:35:16 +02:00