⚡ Zig Standard Library Map

You are invited to learn the innards of the Zig Standard Library by reading the comments and source of the library itself. This document serves as a map to the available namespaces, types, and functions. Click on a name to jump to its location in the source to learn more!

Progress.zig

SemanticVersion.zig

Parse and compare Semantic Version 2 version numbers.

major minor patch pre build order() parse() format()

Thread.zig

Thread/AutoResetEvent.zig

Thread/Condition.zig

Thread/Futex.zig

Thread/Mutex.zig

Thread/ResetEvent.zig

Thread/RwLock.zig

Thread/Semaphore.zig

Thread/StaticResetEvent.zig

array_hash_map.zig

General purpose hash table when fast iteration over items is desired. Otherwise HashMap is faster. Note the handy StringArrayHashMap() and AutoArrayHashMap() functions.

AutoArrayHashMap() AutoArrayHashMapUnmanaged() StringArrayHashMap() StringArrayHashMapUnmanaged() eqlString() hashString()
ArrayHashMapUnmanaged() entries index_header promote() promoteContext() deinit() clearRetainingCapacity() clearAndFree() count() keys() values() iterator() getOrPut() getOrPutContext() getOrPutAdapted() getOrPutContextAdapted() getOrPutAssumeCapacity() getOrPutAssumeCapacityContext() getOrPutAssumeCapacityAdapted() getOrPutValue() getOrPutValueContext() ensureTotalCapacity() ensureTotalCapacityContext() ensureUnusedCapacity() ensureUnusedCapacityContext() capacity() put() putContext() putNoClobber() putNoClobberContext() putAssumeCapacity() putAssumeCapacityContext() putAssumeCapacityNoClobber() putAssumeCapacityNoClobberContext() fetchPut() fetchPutContext() fetchPutAssumeCapacity() fetchPutAssumeCapacityContext() getEntry() getEntryContext() getEntryAdapted() getIndex() getIndexContext() getIndexAdapted() get() getContext() getAdapted() getPtr() getPtrContext() getPtrAdapted() contains() containsContext() containsAdapted() fetchSwapRemove() fetchSwapRemoveContext() fetchSwapRemoveAdapted() fetchSwapRemoveContextAdapted() fetchOrderedRemove() fetchOrderedRemoveContext() fetchOrderedRemoveAdapted() fetchOrderedRemoveContextAdapted() swapRemove() swapRemoveContext() swapRemoveAdapted() swapRemoveContextAdapted() orderedRemove() orderedRemoveContext() orderedRemoveAdapted() orderedRemoveContextAdapted() swapRemoveAt() swapRemoveAtContext() orderedRemoveAt() orderedRemoveAtContext() clone() cloneContext() reIndex() reIndexContext() shrinkRetainingCapacity() shrinkRetainingCapacityContext() shrinkAndFree() shrinkAndFreeContext() pop() popContext() DataList Hash Managed ensureCapacity
getHashPtrAddrFn() getTrivialEqlFn() getAutoHashFn() getAutoEqlFn() autoEqlIsCheap() getAutoHashStratFn()

array_list.zig

ascii.zig

atomic.zig

Contains thread-safe types.

Ordering Stack Queue Atomic

atomic/Atomic.zig

atomic/queue.zig

atomic/stack.zig

base64.zig

bit_set.zig

buf_map.zig

buf_set.zig

build.zig

The Zig build system. Performs the same actions as 'make' but build.zig files are written in pure Zig.

Builder install_tls uninstall_tls allocator user_input_options available_options_map available_options_list verbose verbose_tokenize verbose_ast verbose_link verbose_cc verbose_ir verbose_llvm_ir verbose_cimport verbose_llvm_cpu_features color invalid_user_input zig_exe default_step env_map top_level_steps install_prefix dest_dir lib_dir exe_dir h_dir install_path sysroot search_prefixes libc_file installed_files build_root cache_root global_cache_root release_mode is_release override_lib_dir vcpkg_root pkg_config_pkg_list args create() destroy() resolveInstallPrefix() addExecutable() addExecutableSource() addObject() addObjectSource() addSharedLibrary() addSharedLibrarySource() addStaticLibrary() addStaticLibrarySource() addTest() addTestSource() addAssemble() addAssembleSource() addSystemCommand() dupe() dupeStrings() dupePath() dupePkg() addWriteFile() addWriteFiles() addLog() addRemoveDirTree() addFmt() addTranslateC() version() make() getInstallStep() getUninstallStep() option() step() setPreferredReleaseMode() standardReleaseOptions() standardTargetOptions() addUserInputOption() addUserInputFlag() validateUserInputDidItFail() spawnChild() makePath() installArtifact() addInstallArtifact() installFile() installDirectory() installBinFile() installLibFile() installRaw() addInstallFile() addInstallBinFile() addInstallLibFile() addInstallRaw() addInstallFileWithDir() addInstallDirectory() pushInstalledFile() updateFile() truncateFile() pathFromRoot() fmt() findProgram() execAllowFail() execFromStep() exec() addSearchPrefix() getInstallPath()
LibExeObjStep step builder name target linker_script version_script out_filename linkage version build_mode kind major_only_filename name_only_filename strip lib_paths rpaths framework_dirs frameworks verbose_link verbose_cc emit_llvm_ir emit_asm emit_bin emit_docs emit_h bundle_compiler_rt disable_stack_probing disable_sanitize_c sanitize_thread rdynamic c_std override_lib_dir main_pkg_path exec_cmd_args name_prefix filter single_threaded test_evented_io code_model root_src out_h_filename out_lib_filename out_pdb_filename packages build_options_contents build_options_artifact_args build_options_file_source_args object_src link_objects include_dirs c_macros output_dir is_linking_libc is_linking_libcpp vcpkg_bin_path override_dest_dir installed_path install_step image_base libc_file valgrind_support link_eh_frame_hdr link_emit_relocs link_function_sections linker_allow_shlib_undefined enable_wine enable_qemu enable_wasmtime enable_darling glibc_multi_install_dir force_pic pie red_zone subsystem stack_size want_lto output_path_source output_lib_path_source output_h_path_source output_pdb_path_source createSharedLibrary() createStaticLibrary() createObject() createExecutable() createTest() setTarget() setOutputDir() install() installRaw() run() setLinkerScriptPath() linkFramework() dependsOnSystemLibrary() linkLibrary() isDynamicLibrary() producesPdbFile() linkLibC() linkLibCpp() defineCMacro() defineCMacroRaw() linkSystemLibraryName() linkSystemLibraryPkgConfigOnly() linkSystemLibrary() setNamePrefix() setFilter() addCSourceFiles() addCSourceFile() addCSourceFileSource() setVerboseLink() setVerboseCC() setBuildMode() overrideZigLibDir() setMainPkgPath() setLibCFile() getOutputSource() getOutputLibSource() getOutputHSource() getOutputPdbSource() addAssemblyFile() addAssemblyFileSource() addObjectFile() addObjectFileSource() addObject() addBuildOption() addBuildOptionArtifact() addBuildOptionFileSource() addSystemIncludeDir() addIncludeDir() addLibPath() addRPath() addFrameworkDir() addPackage() addPackagePath() addVcpkgPaths() setExecCmd() base_id
FmtStep TranslateCStep WriteFileStep RunStep CheckFileStep InstallRawStep Version Target

build/CheckFileStep.zig

build/FmtStep.zig

build/InstallRawStep.zig

build/RunStep.zig

build/TranslateCStep.zig

build/WriteFileStep.zig

builtin.zig

Types built into the Zig language itself. This file is indespensible for understanding the metadata available during compile time type introspection and reflection. This file is also used by the compiler!

testVersionParse() default_panic() zig_version zig_is_stage2 output_mode link_mode is_test single_threaded abi cpu os target object_format mode link_libc link_libcpp have_error_return_tracing valgrind_support position_independent_code position_independent_executable strip_debug_info code_model subsystem TypeId PanicFn panic

c.zig

Access to common C Standard Library functions and such. See the additional functionality imported for each supported platform such as Linux, Windows, FreeBSD, Solaris, etc.

fopen fclose fwrite fread printf abort exit _exit isatty close lseek open openat ftruncate raise read readv pread preadv writev pwritev write pwrite mmap munmap mprotect link linkat unlink unlinkat getcwd waitpid fork access faccessat pipe mkdir mkdirat symlink symlinkat rename renameat chdir fchdir execve dup dup2 readlink readlinkat rmdir getenv sysctl sysctlbyname sysctlnametomib tcgetattr tcsetattr fcntl flock ioctl uname gethostname shutdown bind socketpair listen getsockname getpeername connect accept accept4 getsockopt setsockopt send sendto sendmsg recv recvfrom recvmsg kill getdirentries setuid setgid seteuid setegid setreuid setregid setresuid setresgid malloc realloc free futimes utimes utimensat futimens pthread_create pthread_attr_init pthread_attr_setstack pthread_attr_setstacksize pthread_attr_setguardsize pthread_attr_destroy pthread_self pthread_join pthread_detach pthread_atfork pthread_key_create pthread_key_delete pthread_getspecific pthread_setspecific sem_init sem_destroy sem_post sem_wait sem_trywait sem_timedwait sem_getvalue kqueue kevent getaddrinfo freeaddrinfo getnameinfo gai_strerror poll ppoll dn_expand pthread_mutex_lock pthread_mutex_unlock pthread_mutex_trylock pthread_mutex_destroy pthread_cond_wait pthread_cond_timedwait pthread_cond_signal pthread_cond_broadcast pthread_cond_destroy pthread_rwlock_destroy pthread_rwlock_rdlock pthread_rwlock_wrlock pthread_rwlock_tryrdlock pthread_rwlock_trywrlock pthread_rwlock_unlock dlopen dlclose dlsym sync syncfs fsync fdatasync prctl getrlimit setrlimit fmemopen syslog openlog closelog setlogmask getErrno() tokenizer Token Tokenizer environ PTHREAD_MUTEX_INITIALIZER PTHREAD_COND_INITIALIZER pthread_t max_align_t

c/darwin.zig

NSVersionOfRunTimeLibrary _NSGetExecutablePath _dyld_image_count _dyld_get_image_header _dyld_get_image_vmaddr_slide _dyld_get_image_name fcopyfile @"realpath$DARWIN_EXTSN" __getdirentries64 mach_absolute_time mach_timebase_info malloc_size posix_memalign kevent64 @"close$NOCANCEL" mach_host_self clock_get_time host_get_clock_service mach_port_deallocate sendfile sigaltstack pthread_threadid_np arc4random_buf dispatch_release dispatch_semaphore_create dispatch_semaphore_wait dispatch_semaphore_signal dispatch_time dispatch_once_f __ulock_wait2 __ulock_wait __ulock_wake os_unfair_lock_lock os_unfair_lock_unlock os_unfair_lock_trylock os_unfair_lock_assert_owner os_unfair_lock_assert_not_owner sigaddset() COPYFILE_ACL COPYFILE_STAT COPYFILE_XATTR COPYFILE_DATA copyfile_state_t _fstat _fstatat _mh_execute_header mach_header_64 mach_header _errno AI_PASSIVE AI_CANONNAME AI_NUMERICHOST AI_NUMERICSERV EAI_MAX sem_t dispatch_semaphore_t dispatch_time_t DISPATCH_TIME_NOW DISPATCH_TIME_FOREVER UL_COMPARE_AND_WAIT UL_UNFAIR_LOCK UL_OSSPINLOCK UL_HANDOFFLOCK ULF_WAKE_ALL ULF_WAKE_THREAD ULF_WAIT_WORKQ_DATA_CONTENTION ULF_WAIT_CANCEL_POINT ULF_NO_ERRNO UL_COMPARE_AND_WAIT_SHARED UL_UNFAIR_LOCK64_SHARED UL_COMPARE_AND_WAIT64 UL_COMPARE_AND_WAIT64_SHARED ULF_WAIT_ADAPTIVE_SPIN OS_UNFAIR_LOCK_INIT os_unfair_lock_t

c/dragonfly.zig

c/emscripten.zig

c/freebsd.zig

c/fuchsia.zig

c/haiku.zig

c/hermit.zig

c/linux.zig

c/minix.zig

c/netbsd.zig

c/openbsd.zig

c/solaris.zig

c/tokenizer.zig

Token id start end getKeyword() keywords

c/windows.zig

child_process.zig

coff.zig

compress.zig

Common compression/decompression algorithms.

deflate gzip zlib

compress/deflate.zig

compress/gzip.zig

compress/zlib.zig

comptime_string_map.zig

crypto.zig

crypto/25519/curve25519.zig

crypto/25519/ed25519.zig

crypto/25519/edwards25519.zig

crypto/25519/field.zig

crypto/25519/ristretto255.zig

crypto/25519/scalar.zig

crypto/25519/x25519.zig

crypto/aegis.zig

crypto/aes.zig

crypto/aes/aesni.zig

crypto/aes/armcrypto.zig

crypto/aes/soft.zig

crypto/aes_gcm.zig

crypto/aes_ocb.zig

crypto/bcrypt.zig

crypto/benchmark.zig

crypto/blake2.zig

crypto/blake3.zig

crypto/chacha20.zig

crypto/errors.zig

crypto/ghash.zig

crypto/gimli.zig

crypto/hkdf.zig

crypto/hmac.zig

crypto/isap.zig

crypto/md5.zig

crypto/modes.zig

crypto/pbkdf2.zig

crypto/pcurves/common.zig

crypto/pcurves/p256.zig

crypto/pcurves/p256/field.zig

crypto/pcurves/p256/p256_64.zig

crypto/pcurves/p256/p256_scalar_64.zig

crypto/pcurves/p256/scalar.zig

crypto/poly1305.zig

crypto/salsa20.zig

crypto/sha1.zig

crypto/sha2.zig

crypto/sha3.zig

crypto/siphash.zig

crypto/test.zig

crypto/tlcsprng.zig

crypto/utils.zig

cstr.zig

debug.zig

dwarf.zig

dwarf_bits.zig

Note that the listing here has been truncated because of how many dwarf bits there are. :-)

TAG_padding TAG_array_type TAG_class_type TAG_entry_point TAG_enumeration_type TAG_formal_parameter TAG_imported_declaration 592 more...

dynamic_library.zig

elf.zig

enums.zig

event.zig

event/batch.zig

event/channel.zig

event/future.zig

event/group.zig

event/lock.zig

event/locked.zig

event/loop.zig

event/rwlock.zig

event/rwlocked.zig

event/wait_group.zig

fifo.zig

fmt.zig

fmt/errol.zig

fmt/errol/enum3.zig

fmt/errol/lookup.zig

fmt/parse_float.zig

fmt/parse_hex_float.zig

fs.zig

atomicSymLink() updateFileAbsolute() copyFileAbsolute() makeDirAbsolute() makeDirAbsoluteZ() makeDirAbsoluteW() deleteDirAbsolute() deleteDirAbsoluteZ() deleteDirAbsoluteW() renameAbsolute() renameAbsoluteZ() renameAbsoluteW() rename() renameZ() renameW() cwd() openDirAbsolute() openDirAbsoluteZ() openDirAbsoluteW() openFileAbsolute() openFileAbsoluteZ() openFileAbsoluteW() accessAbsolute() accessAbsoluteZ() accessAbsoluteW() createFileAbsolute() createFileAbsoluteZ() createFileAbsoluteW() deleteFileAbsolute() deleteFileAbsoluteZ() deleteFileAbsoluteW() deleteTreeAbsolute() readLinkAbsolute() readlinkAbsoluteW() readLinkAbsoluteZ() symLinkAbsolute() symLinkAbsoluteW() symLinkAbsoluteZ() walkPath() openSelfExe() selfExePathAlloc() selfExePath() selfExePathW() selfExeDirPathAlloc() selfExeDirPath() realpathAlloc() path File wasi realpath realpathZ realpathC realpathW getAppDataDir GetAppDataDirError Watch MAX_PATH_BYTES base64_alphabet base64_encoder base64_decoder need_async_thread deleteDir deleteDirC deleteDirW renameC openFileAbsoluteC createFileAbsoluteC deleteFileAbsoluteC readLink readLinkC symLink symLinkC OpenSelfExeError SelfExePathError

fs/file.zig

fs/get_app_data_dir.zig

fs/path.zig

fs/test.zig

fs/wasi.zig

fs/watch.zig

hash.zig

hash/adler.zig

hash/auto_hash.zig

hash/benchmark.zig

hash/cityhash.zig

hash/crc.zig

hash/fnv.zig

hash/murmur.zig

hash/wyhash.zig

hash_map.zig

General purpose hash table. Use ArrayHashMap instead when fast iteration over items is desired. Otherwise this is faster. Note the handy StringHashMap() and AutoHashMap() functions.

getAutoHashFn() getAutoEqlFn() AutoHashMap() AutoHashMapUnmanaged() StringHashMap() StringHashMapUnmanaged() eqlString() hashString() verifyContext() DefaultMaxLoadPercentage default_max_load_percentage

heap.zig

heap/arena_allocator.zig

heap/general_purpose_allocator.zig

heap/log_to_writer_allocator.zig

heap/logging_allocator.zig

io.zig

io/bit_reader.zig

io/bit_writer.zig

io/buffered_atomic_file.zig

io/buffered_reader.zig

io/buffered_writer.zig

io/c_writer.zig

io/change_detection_stream.zig

io/counting_reader.zig

io/counting_writer.zig

io/find_byte_writer.zig

io/fixed_buffer_stream.zig

io/limited_reader.zig

io/multi_writer.zig

io/peek_stream.zig

io/reader.zig

io/seekable_stream.zig

io/stream_source.zig

io/test.zig

io/writer.zig

json.zig

JSON parser and writer. Stream tokens or parse into Zig data types!

validate() parse() parseFree() unescapeValidString() stringify() WriteStream writeStream ObjectMap Array

json/write_stream.zig

leb128.zig

Little Endian Base 128 is a variable-length compression format for integers. This is what happens when an integer must be taught the ways of love by a gardener in 1901.

readULEB128() writeULEB128() readILEB128() writeILEB128() writeUnsignedFixed()

linked_list.zig

log.zig

macho.zig

math.zig

approxEqAbs() approxEqRel() doNotOptimizeAway() raiseInvalid() raiseUnderflow() raiseOverflow() raiseInexact() raiseDivByZero() floatMantissaBits() floatExponentBits() Min() min() min3() max() max3() clamp() mul() add() sub() negate() shlExact() shl() shr() rotr() rotl() Log2Int() Log2IntCeil() IntFittingRange() absInt() divTrunc() divFloor() divCeil() divExact() mod() rem() absCast() negateCast() cast() alignCast() isPowerOfTwo() floorPowerOfTwo() ceilPowerOfTwoPromote() ceilPowerOfTwo() ceilPowerOfTwoAssert() log2_int() log2_int_ceil() lossyCast() maxInt() minInt() mulWide() order() compare() e pi tau log2e log10e ln2 ln10 two_sqrtpi sqrt2 sqrt1_2 f128_true_min f128_min f128_max f128_epsilon f128_toint f64_true_min f64_min f64_max f64_epsilon f64_toint f32_true_min f32_min f32_max f32_epsilon f32_toint f16_true_min f16_min f16_max f16_epsilon f16_toint epsilon nan_u16 nan_f16 qnan_u16 qnan_f16 inf_u16 inf_f16 nan_u32 nan_f32 qnan_u32 qnan_f32 inf_u32 inf_f32 nan_u64 nan_f64 qnan_u64 qnan_f64 inf_u64 inf_f64 nan_u128 nan_f128 qnan_u128 qnan_f128 inf_u128 inf_f128 nan snan inf approxEq isNan isSignalNan fabs ceil floor trunc round frexp frexp32_result frexp64_result modf modf32_result modf64_result copysign isFinite isInf isPositiveInf isNegativeInf isNormal signbit scalbn pow powi sqrt cbrt acos asin atan atan2 hypot exp exp2 expm1 ilogb ln log log2 log10 log1p fma asinh acosh atanh sinh cosh tanh cos sin tan complex Complex big absFloat AlignCastError

math/acos.zig

math/big.zig

math/big/int.zig

math/big/rational.zig

math/complex.zig

mem.zig

Compare, duplicate, trim, and otherwise manipulate memory. This can be used for most of what you might think of as 'string' operations in other languages.

validationWrap() alignAllocLen() copy() copyBackwards() set() zeroes() zeroInit() order() lessThan() eql() indexOfDiff() Span() span() spanZ() sliceTo() len() lenZ() indexOfSentinel() allEqual() dupe() dupeZ() trimLeft() trimRight() trim() indexOfScalar() lastIndexOfScalar() indexOfScalarPos() indexOfAny() lastIndexOfAny() indexOfAnyPos() indexOf() lastIndexOfLinear() indexOfPosLinear() lastIndexOf() indexOfPos() count() containsAtLeast() readVarInt() readIntNative() readIntForeign() readIntSliceNative() readIntSliceForeign() readInt() readIntSlice() writeIntNative() writeIntForeign() writeInt() writeIntSliceLittle() writeIntSliceBig() writeIntSlice() bswapAllFields() tokenize() split() startsWith() endsWith() join() joinZ() concat() min() max() swap() reverse() rotate() replace() replaceScalar() collapseRepeatsLen() collapseRepeats() replacementSize() replaceOwned() littleToNative() bigToNative() toNative() nativeTo() nativeToLittle() nativeToBig() alignPointerOffset() alignPointer() asBytes() toBytes() bytesAsValue() bytesToValue() bytesAsSlice() sliceAsBytes() alignForward() alignForwardGeneric() doNotOptimizeAway() alignBackwardAnyAlign() alignBackward() alignBackwardGeneric() isValidAlign() isAlignedAnyAlign() isAligned() isAlignedGeneric() alignInBytes() alignInSlice() page_size byte_size_in_bits Allocator toSliceConst toSlice readIntLittle readIntBig readIntSliceLittle readIntSliceBig writeIntLittle writeIntBig writeIntSliceNative writeIntSliceForeign separate

mem/Allocator.zig

meta.zig

meta/trailer_flags.zig

meta/trait.zig

multi_array_list.zig

net.zig

once.zig

os.zig

close() getrandom() abort() raise() kill() exit() read() readv() pread() ftruncate() preadv() write() writev() pwrite() pwritev() open() openZ() openW() openat() openatWasi() openatZ() openatW() dup() dup2() execveZ() execvpeZ_expandArg0() execvpeZ() getenv() getenvZ() getenvW() getcwd() symlink() symlinkZ() symlinkat() symlinkatWasi() symlinkatZ() linkZ() link() linkatZ() linkat() unlink() unlinkZ() unlinkW() unlinkat() unlinkatWasi() unlinkatZ() unlinkatW() rename() renameZ() renameW() renameat() renameatWasi() renameatZ() renameatW() mkdirat() mkdiratWasi() mkdiratZ() mkdiratW() mkdir() mkdirZ() mkdirW() rmdir() rmdirZ() rmdirW() chdir() chdirZ() chdirW() fchdir() readlink() readlinkW() readlinkZ() readlinkat() readlinkatWasi() readlinkatW() readlinkatZ() setuid() seteuid() setreuid() setgid() setegid() setregid() isatty() isCygwinPty() socket() shutdown() closeSocket() bind() listen() accept() epoll_create1() epoll_ctl() epoll_wait() eventfd() getsockname() getpeername() connect() getsockoptError() waitpid() fstat() fstatat() fstatatWasi() fstatatZ() kqueue() kevent() inotify_init1() inotify_add_watch() inotify_add_watchZ() inotify_rm_watch() mprotect() fork() mmap() munmap() access() accessZ() accessW() faccessat() faccessatZ() faccessatW() pipe() pipe2() sysctl() sysctlbynameZ() gettimeofday() lseek_SET() lseek_CUR() lseek_END() lseek_CUR_get() fcntl() flock() realpath() realpathZ() realpathW() getFdPath() nanosleep() dl_iterate_phdr() clock_gettime() clock_getres() sched_getaffinity() toPosixPath() unexpectedErrno() sigaltstack() sigaction() futimens() gethostname() uname() res_mkquery() sendmsg() sendto() send() sendfile() copy_file_range() poll() ppoll() recv() recvfrom() dn_expand() sched_yield() setsockopt() memfd_createZ() memfd_create() getrusage() tcgetattr() tcsetattr() ioctl_SIOCGIFINDEX() signalfd() sync() syncfs() fsync() fdatasync() prctl() getrlimit() setrlimit() madvise() darwin dragonfly freebsd haiku netbsd openbsd linux uefi wasi windows system socket_t environ argv errno GetRandomError RaiseError KillError ReadError PReadError TruncateError WriteError PWriteError OpenError openC openatC ExecveError execveC execvpeC getenvC GetCwdError SymLinkError symlinkC symlinkatC LinkError LinkatError UnlinkError unlinkC UnlinkatError unlinkatC RenameError renameC mkdiratC MakeDirError DeleteDirError rmdirC ChangeCurDirError chdirC FchdirError ReadLinkError readlinkC readlinkatC SetEidError SetIdError SocketError ShutdownError BindError ListenError AcceptError EpollCreateError EpollCtlError EventFdError GetSockNameError ConnectError Stat FStatError FStatAtError fstatatC KQueueError KEventError INotifyInitError INotifyAddWatchError inotify_add_watchC MProtectError ForkError MMapError AccessError accessC PipeError SysCtlError sysctlbynameC SeekError FcntlError FlockError RealPathError realpathC ClockGetTimeError SchedGetAffinityError unexpected_error_tracing UnexpectedError SigaltstackError FutimensError GetHostNameError SendError SendMsgError SendToError SendFileError CopyFileRangeError PollError PPollError RecvFromError DnExpandError SchedYieldError SetSockOptError MemFdCreateError memfd_createC MFD_NAME_PREFIX MFD_MAX_NAME_LEN TermiosGetError TermiosSetError IoCtl_SIOCGIFINDEX_Error SyncError PrctlError GetrlimitError SetrlimitError MadviseError

os/bits/linux/xdp.zig

os/wasi.zig

os/windows.zig

OpenFile() CreatePipe() CreateEventEx() CreateEventExW() DeviceIoControl() GetOverlappedResult() SetHandleInformation() RtlGenRandom() WaitForSingleObject() WaitForSingleObjectEx() WaitForMultipleObjectsEx() CreateIoCompletionPort() PostQueuedCompletionStatus() GetQueuedCompletionStatus() GetQueuedCompletionStatusEx() CloseHandle() FindClose() ReadFile() WriteFile() SetCurrentDirectory() GetCurrentDirectory() CreateSymbolicLink() ReadLink() DeleteFile() MoveFileEx() MoveFileExW() GetStdHandle() SetFilePointerEx_BEGIN() SetFilePointerEx_CURRENT() SetFilePointerEx_END() SetFilePointerEx_CURRENT_get() QueryObjectName() GetFinalPathNameByHandle() QueryInformationFile() GetFileSizeEx() GetFileAttributes() GetFileAttributesW() WSAStartup() WSACleanup() WSASocketW() bind() listen() closesocket() accept() getsockname() getpeername() sendmsg() sendto() recvfrom() poll() WSAIoctl() GetModuleFileNameW() TerminateProcess() VirtualAlloc() VirtualFree() SetConsoleTextAttribute() SetConsoleCtrlHandler() SetFileCompletionNotificationModes() GetEnvironmentStringsW() FreeEnvironmentStringsW() GetEnvironmentVariableW() CreateProcessW() LoadLibraryW() FreeLibrary() QueryPerformanceFrequency() QueryPerformanceCounter() InitOnceExecuteOnce() HeapFree() HeapDestroy() GetFileInformationByHandle() SetFileTime() LockFile() UnlockFile() teb() peb() fromSysTime() toSysTime() fileTimeToNanoSeconds() nanoSecondsToFileTime() removeDotDirsSanitized() normalizePath() cStrToPrefixedFileW() sliceToPrefixedFileW() wToPrefixedFileW() loadWinsockExtensionFunction() unexpectedError() unexpectedWSAError() unexpectedStatus() advapi32 kernel32 ntdll ole32 psapi shell32 user32 ws2_32 gdi32 winmm self_process_handle OpenError CreatePipeError DeviceIoControlError SetHandleInformationError RtlGenRandomError WaitForSingleObjectError CreateIoCompletionPortError PostQueuedCompletionStatusError GetQueuedCompletionStatusError ReadFileError WriteFileError SetCurrentDirectoryError GetCurrentDirectoryError CreateSymbolicLinkError ReadLinkError DeleteFileError MoveFileError GetStdHandleError SetFilePointerError GetFinalPathNameByHandleError QueryInformationFileError GetFileSizeError GetFileAttributesError TerminateProcessError VirtualAllocError SetConsoleTextAttributeError GetEnvironmentStringsError GetEnvironmentVariableError CreateProcessError LoadLibraryError GetFileInformationByHandleError SetFileTimeError LockFileError UnlockFileError RemoveDotDirsError

os/windows/advapi32.zig

os/windows/test.zig

os/windows/winmm.zig

packed_int_array.zig

pdb.zig

priority_dequeue.zig

priority_queue.zig

process.zig

rand.zig

rand/Gimli.zig

rand/Isaac64.zig

rand/Pcg.zig

rand/Sfc64.zig

rand/Xoroshiro128.zig

rand/Xoshiro256.zig

rand/ziggurat.zig

sort.zig

start.zig

start_windows_tls.zig

std.zig

target.zig

Target cpu os abi zigTriple() linuxTripleSimple() linuxTriple() oFileExt_os_abi() oFileExt() exeFileExtSimple() exeFileExt() staticLibSuffix_os_abi() staticLibSuffix() dynamicLibSuffix() libPrefix_os_abi() libPrefix() getObjectFormatSimple() getObjectFormat() isMinGW() isGnu() isMusl() isAndroid() isWasm() isDarwin() isBSD() isGnuLibC_os_tag_abi() isGnuLibC() supportsNewStackCall() getFloatAbi() hasDynamicLinker() standardDynamicLinkerPath() canExecBinariesOf() aarch64 amdgpu arm avr bpf hexagon mips msp430 nvptx powerpc riscv sparc spirv systemz ve wasm x86 current stack_align

target/aarch64.zig

target/amdgpu.zig

target/arm.zig

target/avr.zig

target/bpf.zig

target/hexagon.zig