Zig standard library reference
The modules, types and functions of the Zig standard library. Each entry gives the signature, the release that added it and a link to the official documentation.
- std
- std.array_hash_map
- std.array_list
- std.ascii
- std.atomic
- std.base64
- std.bit_set
- std.BitStack
- std.BufMap
- std.BufSet
- std.Build
- std.Build.abi
- std.Build.Cache
- std.Build.Cache.DepTokenizer
- std.Build.Cache.Directory
- std.Build.Cache.Path
- std.Build.Configuration
- std.Build.Module
- std.Build.Serialize
- std.Build.Step
- std.Build.Step.CheckFile
- std.Build.Step.Compile
- std.Build.Step.ConfigHeader
- std.Build.Step.Fail
- std.Build.Step.FindProgram
- std.Build.Step.Fmt
- std.Build.Step.InstallArtifact
- std.Build.Step.InstallDir
- std.Build.Step.InstallFile
- std.Build.Step.ObjCopy
- std.Build.Step.Options
- std.Build.Step.Run
- std.Build.Step.TranslateC
- std.Build.Step.UpdateSourceFiles
- std.Build.Step.WriteFile
- std.c
- std.coff
- std.compress
- std.compress.flate
- std.compress.flate.Compress
- std.compress.flate.Decompress
- std.compress.lzma
- std.compress.lzma2
- std.compress.xz
- std.compress.xz.Decompress
- std.compress.zstd
- std.compress.zstd.Decompress
- std.crypto
- std.crypto.aead.aes_ccm
- std.crypto.aead.ascon.AsconAead128
- std.crypto.aead.isap
- std.crypto.aead.salsa_poly.XSalsa20Poly1305
- std.crypto.auth.cbc_mac
- std.crypto.auth.cmac
- std.crypto.auth.hmac
- std.crypto.auth.siphash
- std.crypto.Certificate
- std.crypto.Certificate.Bundle
- std.crypto.codecs
- std.crypto.codecs.asn1
- std.crypto.codecs.asn1.der
- std.crypto.codecs.asn1.der.Decoder
- std.crypto.codecs.asn1.der.Encoder
- std.crypto.codecs.asn1.Oid
- std.crypto.codecs.base64
- std.crypto.codecs.hex
- std.crypto.core.aes
- std.crypto.core.Ascon
- std.crypto.core.keccak
- std.crypto.core.modes
- std.crypto.dh.X25519
- std.crypto.ecc.Curve25519
- std.crypto.ecc.Curve25519.Fe
- std.crypto.ecc.Curve25519.scalar
- std.crypto.ecc.Edwards25519
- std.crypto.ecc.P256
- std.crypto.ecc.P256.scalar
- std.crypto.ecc.P384
- std.crypto.ecc.P384.scalar
- std.crypto.ecc.Ristretto255
- std.crypto.ecc.Secp256k1
- std.crypto.ecc.Secp256k1.scalar
- std.crypto.errors
- std.crypto.ff
- std.crypto.hash.blake2
- std.crypto.hash.Blake3
- std.crypto.hash.composition
- std.crypto.hash.Md5
- std.crypto.hash.Sha1
- std.crypto.hash.sha2
- std.crypto.hash.sha3
- std.crypto.kdf.hkdf
- std.crypto.kem.hybrid
- std.crypto.kem.kyber_d00
- std.crypto.kem.ml_kem
- std.crypto.onetimeauth.Poly1305
- std.crypto.pwhash.argon2
- std.crypto.pwhash.bcrypt
- std.crypto.pwhash.phc_format
- std.crypto.pwhash.scrypt
- std.crypto.sign.ecdsa
- std.crypto.sign.Ed25519
- std.crypto.sign.mldsa
- std.crypto.stream.salsa.Salsa
- std.crypto.stream.salsa.XSalsa
- std.crypto.timing_safe
- std.crypto.tls
- std.crypto.tls.Client
- std.debug
- std.debug.Coverage
- std.debug.cpu_context
- std.debug.Dwarf
- std.debug.Dwarf.expression
- std.debug.Dwarf.SelfUnwinder
- std.debug.Dwarf.Unwind
- std.debug.Dwarf.Unwind.VirtualMachine
- std.debug.ElfFile
- std.debug.Info
- std.debug.MachOFile
- std.debug.no_panic
- std.debug.Pdb
- std.debug.simple_panic
- std.Deque
- std.DoublyLinkedList
- std.dwarf
- std.dwarf.AT
- std.dwarf.ATE
- std.dwarf.EH
- std.dwarf.FORM
- std.dwarf.LANG
- std.dwarf.OP
- std.dwarf.TAG
- std.DynLib
- std.elf
- std.enums
- std.fmt
- std.fmt.float
- std.hash
- std.hash.Adler32
- std.hash.cityhash
- std.hash.crc
- std.hash.murmur
- std.hash_map
- std.heap
- std.heap.ArenaAllocator
- std.heap.BrkAllocator
- std.heap.BufferFirstAllocator
- std.heap.FixedBufferAllocator
- std.heap.memory_pool
- std.heap.PageAllocator
- std.heap.SafeAllocator
- std.heap.SmpAllocator
- std.http
- std.http.ChunkParser
- std.http.Client
- std.http.HeaderIterator
- std.http.HeadParser
- std.http.Server
- std.Io
- std.Io.Dir
- std.Io.Dispatch
- std.Io.fiber
- std.Io.File
- std.Io.File.Atomic
- std.Io.File.MemoryMap
- std.Io.File.MultiReader
- std.Io.File.Reader
- std.Io.File.Writer
- std.Io.Kqueue
- std.Io.net
- std.Io.net.HostName
- std.Io.Reader
- std.Io.Reader.Limited
- std.Io.RwLock
- std.Io.Semaphore
- std.Io.Terminal
- std.Io.Threaded
- std.Io.Uring
- std.Io.Writer
- std.json
- std.json.ArrayHashMap
- std.json.Parsed
- std.json.Scanner
- std.json.Stringify
- std.json.Value
- std.lang
- std.lang.assembly
- std.leb
- std.log
- std.macho
- std.math
- std.math.big
- std.math.big.int
- std.math.complex
- std.mem
- std.mem.Allocator
- std.meta
- std.meta.TrailerFlags
- std.MultiArrayList
- std.os
- std.os.emscripten
- std.os.linux
- std.os.linux.BPF
- std.os.linux.BPF.btf
- std.os.linux.BPF.btf.ext
- std.os.linux.BPF.kern
- std.os.linux.io_uring_sqe
- std.os.linux.IOCTL
- std.os.linux.IoUring
- std.os.linux.SECCOMP
- std.os.linux.syscalls
- std.os.linux.tls
- std.os.plan9
- std.os.uefi
- std.os.uefi.DevicePath
- std.os.uefi.hii
- std.os.uefi.protocol
- std.os.uefi.protocol.AbsolutePointer
- std.os.uefi.protocol.BlockIo
- std.os.uefi.protocol.DevicePath
- std.os.uefi.protocol.edid
- std.os.uefi.protocol.File
- std.os.uefi.protocol.GraphicsOutput
- std.os.uefi.protocol.HiiDatabase
- std.os.uefi.protocol.HiiPopup
- std.os.uefi.protocol.Ip6
- std.os.uefi.protocol.Ip6Config
- std.os.uefi.protocol.LoadedImage
- std.os.uefi.protocol.ManagedNetwork
- std.os.uefi.protocol.Rng
- std.os.uefi.protocol.SerialIo
- std.os.uefi.protocol.ServiceBinding
- std.os.uefi.protocol.SimpleFileSystem
- std.os.uefi.protocol.SimpleNetwork
- std.os.uefi.protocol.SimplePointer
- std.os.uefi.protocol.SimpleTextInput
- std.os.uefi.protocol.SimpleTextInputEx
- std.os.uefi.protocol.SimpleTextOutput
- std.os.uefi.protocol.Udp6
- std.os.uefi.Status
- std.os.uefi.tables
- std.os.uefi.tables.BootServices
- std.os.uefi.tables.ConfigurationTable
- std.os.uefi.tables.RuntimeServices
- std.os.uefi.tables.SystemTable
- std.os.wasi
- std.os.windows
- std.os.windows.crypt32
- std.os.windows.LANG
- std.os.windows.nls
- std.os.windows.NTSTATUS
- std.os.windows.SUBLANG
- std.os.windows.ws2_32
- std.pdb
- std.pie
- std.posix
- std.PriorityDequeue
- std.PriorityQueue
- std.process
- std.process.Args
- std.process.Child
- std.process.Environ
- std.process.Preopens
- std.Progress
- std.Random
- std.Random.Ascon
- std.Random.ChaCha
- std.Random.Isaac64
- std.Random.lcg
- std.Random.Pcg
- std.Random.RomuTrio
- std.Random.Sfc64
- std.Random.SplitMix64
- std.Random.Xoroshiro128
- std.Random.Xoshiro256
- std.Random.ziggurat
- std.SemanticVersion
- std.simd
- std.SinglyLinkedList
- std.sort
- std.spirv
- std.static_string_map
- std.tar
- std.tar.Writer
- std.Target
- std.Target.aarch64
- std.Target.alpha
- std.Target.amdgcn
- std.Target.arc
- std.Target.arm
- std.Target.avr
- std.Target.bpf
- std.Target.csky
- std.Target.hexagon
- std.Target.hppa
- std.Target.kalimba
- std.Target.kvx
- std.Target.lanai
- std.Target.loongarch
- std.Target.m68k
- std.Target.mips
- std.Target.msp430
- std.Target.nvptx
- std.Target.powerpc
- std.Target.propeller
- std.Target.Query
- std.Target.riscv
- std.Target.s390x
- std.Target.sparc
- std.Target.spirv
- std.Target.ve
- std.Target.wasm
- std.Target.x86
- std.Target.xcore
- std.Target.xtensa
- std.testing
- std.testing.FailingAllocator
- std.testing.Smith
- std.Thread
- std.time
- std.time.epoch
- std.Treap
- std.tz
- std.unicode
- std.Uri
- std.valgrind
- std.valgrind.cachegrind
- std.valgrind.callgrind
- std.valgrind.memcheck
- std.wasm
- std.zig
- std.zig.Ast
- std.zig.Ast.Render
- std.zig.AstGen
- std.zig.AstRlAnnotate
- std.zig.BuiltinFn
- std.zig.c_translation.builtins
- std.zig.c_translation.helpers
- std.zig.Client
- std.zig.ErrorBundle
- std.zig.LibCDirs
- std.zig.LibCInstallation
- std.zig.llvm
- std.zig.llvm.bitcode_writer
- std.zig.llvm.BitcodeReader
- std.zig.llvm.Builder
- std.zig.number_literal
- std.zig.parser_generated_oracle
- std.zig.PkgConfig
- std.zig.primitives
- std.zig.Server
- std.zig.string_literal
- std.zig.system
- std.zig.system.darwin
- std.zig.system.darwin.macos
- std.zig.system.freebsd
- std.zig.system.linux
- std.zig.system.NativePaths
- std.zig.system.netbsd
- std.zig.system.openbsd
- std.zig.system.windows
- std.zig.target
- std.zig.TokenSmith
- std.zig.WindowsSdk
- std.zig.Zir
- std.zig.Zoir
- std.zig.ZonGen
- std.zip
- std.zon
- std.zon.parse
- std.zon.Serializer
- std.zon.stringify