Programming with C: Dictionary of Terms

The terms the lecture notes introduce, each with a short definition. The week column links to the notes where the term is explained. C names are written as they appear in code.

TermDefinitionWeek
.bssThe region holding statics that are zero-initialized; only its size is recorded in the executable and the loader zeroes it at startup.17 · Scope, Lifetime, and Program Memory Layout
.PHONYA Make declaration marking targets such as clean as commands rather than files, so they always run.29 · Building Programs and Libraries
.rodataThe read-only region holding string literals and const data, which the hardware refuses to let the program write.17 · Scope, Lifetime, and Program Memory Layout
ABI compatibilityThe property that an already-compiled program still links and runs correctly against a new version of a library.45 · Packaging and Distributing C Libraries
abstract data type (ADT)A type defined by its operations rather than its representation, so the implementation can change without affecting callers.33 · Trees, Hash Tables, and Abstract Data Types
acceptThe server call that waits for a connection request and returns a new descriptor for that connection.40 · Network Programming with Sockets
address-of operator (&)The operator that yields the address of an object.13 · Introduction to Pointers
AddressSanitizerA compiler-inserted checker enabled with -fsanitize=address that reports out-of-range memory accesses with the exact line and offset.12 · One- and Multi-Dimensional Arrays
alignmentThe requirement that an object of a type be stored at an address that is a multiple of a particular number of bytes.22 · Unions, Enumerations, and Type Aliases
Amdahl's lawThe rule that speeding up part of a program improves the whole only in proportion to the share of time that part takes.34 · Performance and Memory Layout
amortized constant timeA cost that averages to a constant per operation over many operations, as with appending to an array whose capacity doubles.19 · Dynamic Memory Allocation
anonymous unionA union or structure member without a name whose members are accessed as if they belonged to the enclosing structure.38 · Type Qualifiers, Inlining, and Modern C
ANSI CThe first formal C standard, published in 1989 and adopted by ISO as C90; also called C89.2 · History, Standards, and the Compilation Model
API compatibilityThe property that existing source code still compiles against a new version of a library.45 · Packaging and Distributing C Libraries
argcThe count of command-line arguments passed to main, including the program name.23 · Program Arguments and Input
argvThe array of pointers to the command-line argument strings, in which argv[0] is the program name and argv[argc] is NULL.23 · Program Arguments and Input
arithmetic shiftA right shift that fills with the sign bit, preserving the sign; C leaves the choice for negative values implementation-defined.25 · Bit-Level Operations
arrayA fixed number of elements of one type stored contiguously in memory and indexed from 0.12 · One- and Multi-Dimensional Arrays
array decayThe implicit conversion of an array name to a pointer to its first element in most expressions.13 · Introduction to Pointers
array of pointersAn array whose elements are pointers, such as a list of strings of different lengths, declared like int *a[5].15 · Pointer Arithmetic and Arrays
arrow operatorThe operator -> that selects a member through a pointer to a structure; p->x means (*p).x.21 · Structures
ASCIIThe traditional character encoding that assigns integer codes 0 to 127 to English letters, digits, punctuation and control characters.4 · Data Representation
assemblerA program that translates assembly language, a readable naming of machine instructions, into machine code.1 · Computers, Programs, and the C Toolchain
assertThe macro that aborts with the expression, file and line when its condition is false, and disappears under NDEBUG.27 · Error Handling Strategies
associativityThe rule deciding how operators of equal precedence group, such as left to right for subtraction.6 · Operators and Expressions
async-signal-safe functionA function that may legally be called from a signal handler, such as write or _exit, unlike printf or malloc.39 · Processes, Signals, and Low-Level I/O
atexitThe function that registers a handler to run on normal program termination.31 · Command-Line Interfaces and the Environment
atoiA conversion function that cannot report non-numeric input, trailing text or overflow, and so is unsuitable for external input.23 · Program Arguments and Input
atomicAn object whose operations are indivisible with respect to other threads, declared with stdatomic.h.41 · Concurrency and the C Memory Model
backlogThe queue of completed connections waiting to be accepted by a listening server.40 · Network Programming with Sockets
backtraceThe list of active function calls, shown by a debugger, that led to the current point.35 · Debugging, Testing, and Analysis
balanced treeA tree that keeps its height proportional to log n, as AVL and red-black trees do by rotating after insertion.33 · Trees, Hash Tables, and Abstract Data Types
base caseThe branch of a recursive function that returns without calling itself and answers the smallest version of the problem directly.18 · Recursion
big-endianA byte order that stores the most significant byte at the lowest address, used as network byte order.37 · Portability and the Machine Model
binary search treeA tree in which every key in a node's left subtree is smaller and every key in its right subtree is larger than the node's key.33 · Trees, Hash Tables, and Abstract Data Types
bit packingCombining several small values into one integer with shifts and OR, and extracting them again with shifts and masks.25 · Bit-Level Operations
bit-fieldA structure member declared with a width in bits, whose layout is not fixed by the standard and so is unsuitable for external formats.25 · Bit-Level Operations
blockA sequence of statements wrapped in braces that can appear wherever a statement can and creates a new scope.3 · Program Structure, Style, and Basic Output
bounds checkingVerifying that an index lies within an array, which C does not do automatically.12 · One- and Multi-Dimensional Arrays
boy scout ruleImproving slightly whatever code you touch as part of the work you were already doing.56 · Maintaining Long-Lived C Codebases
breakA statement that leaves the innermost enclosing loop or switch immediately.10 · Loops and Flow Control
breakpointA point set in a debugger at which execution stops so the program state can be examined.35 · Debugging, Testing, and Analysis
buffer overflowA write past the end of an array that can overwrite a return address, a function pointer or neighboring data.36 · Undefined Behavior and Secure Coding
bufferingCollecting output in memory and writing it in blocks, which explains delayed output and data lost in a crash.26 · Files and Streams
build stepThe separate translation stage a compiled language needs, turning edited source into an executable before the program can run.1 · Computers, Programs, and the C Toolchain
__builtin_add_overflowA GCC and Clang builtin that performs an addition and reports whether it overflowed, without invoking undefined behavior.46 · ABI and Interfacing with Other Languages
byte orderThe order in which the bytes of a multi-byte integer are stored in memory.37 · Portability and the Machine Model
cache lineThe block of memory, typically 64 bytes, that hardware transfers between memory and the cache in one piece.34 · Performance and Memory Layout
cache localityThe property that data accessed together lies close together in memory, which makes arrays faster than scattered list nodes.32 · Linked Data Structures
cache missAn access to data that is not in the cache, forcing a slow wait for main memory.34 · Performance and Memory Layout
call stackThe region of memory where stack frames are pushed as functions are called and popped as they return.11 · Functions
callbackA function passed to another function so that it can call it back to do part of the work.30 · Function Pointers, Callbacks, and Generic Programming
caller-supplied bufferStorage, together with its size, that the caller passes in so the function allocates nothing and cannot leak or overflow it.16 · Pointers as Function Parameters
calling conventionThe platform rules for how arguments and return values are passed, which registers must be preserved and how the stack is used.46 · ABI and Interfacing with Other Languages
callocThe function that allocates a zero-filled block for a count of elements and detects overflow in count times size.19 · Dynamic Memory Allocation
castAn explicit conversion written as a type name in parentheses before an expression; it also hides warnings the conversion would otherwise produce.7 · Type Conversions
chainingA collision strategy in which each bucket holds a linked list of the entries that landed there.33 · Trees, Hash Tables, and Abstract Data Types
changelogA user-facing list of what each release added, fixed and changed, written for readers rather than copied from commit logs.44 · Collaborative Development and Code Review
characterization testA test that records what existing code currently does, correct or not, so refactoring can be checked without a specification.56 · Maintaining Long-Lived C Codebases
Chesterton's fenceThe rule that apparently pointless code should not be removed until you understand why it was written, for example by searching history with git log -S.43 · Working in an Existing Codebase
clangdA language server that provides go-to-definition and find-all-references in an editor, using a compile_commands.json file.42 · Reading Excellent C
clockThe function that returns the processor time used by the program, not elapsed wall-clock time.24 · The Standard Library Toolbox
CLOCK_MONOTONICThe POSIX clock that never jumps backwards, which makes it the right choice for measuring elapsed intervals.24 · The Standard Library Toolbox
CMakeA tool that generates build files for other build systems, such as Makefiles, Ninja or Visual Studio projects, from one configuration.29 · Building Programs and Libraries
code coverageA measure of which lines of the program were executed by the tests.35 · Debugging, Testing, and Analysis
collisionThe situation in which two different keys produce the same hash table index.33 · Trees, Hash Tables, and Abstract Data Types
comparatorA function that orders two elements by returning a negative value, zero or a positive value, as used by qsort and bsearch.30 · Function Pointers, Callbacks, and Generic Programming
compilerA program that translates a whole source file in a higher-level language into machine code ahead of time, producing an executable.1 · Computers, Programs, and the C Toolchain
compound literalAn expression that creates an unnamed object of a given type in place, living until the end of the enclosing block.38 · Type Qualifiers, Inlining, and Modern C
condition variableA synchronization object that lets a thread sleep until shared data reaches a desired state.41 · Concurrency and the C Memory Model
conditional compilationUsing directives such as #ifdef and #if to include or exclude code depending on macros set at build time.28 · The Preprocessor and Modular Programming
conditional operatorThe ternary operator ?: that chooses between two expressions and evaluates only the one chosen.9 · Conditional Statements
constA qualifier that makes an object read-only, so the compiler rejects assignments to it.5 · Variables, Types, and Constants
const char *A pointer to constant characters: the pointer can be repointed, but the characters cannot be modified through it.16 · Pointers as Function Parameters
const correctnessThe discipline of declaring every pointer parameter const when the function does not modify its target, so the compiler enforces the contract.16 · Pointers as Function Parameters
continuation byteA byte of a multi-byte UTF-8 sequence whose top two bits are 10, which is skipped when counting characters.37 · Portability and the Machine Model
continueA statement that skips the rest of the loop body and goes on to the next iteration.10 · Loops and Flow Control
continuous integration (CI)A setup that builds and tests every change automatically and fails the build when a tool reports a problem.35 · Debugging, Testing, and Analysis
conversion specificationThe part of a printf format string, %[flags][width][.precision][length]conversion, that describes how one argument is printed.8 · Formatted Input and Output
conversion specifierA placeholder beginning with % in a printf format string that says how the next argument is to be formatted.3 · Program Structure, Style, and Basic Output
core dumpA file holding the memory image of a crashed process, which a debugger can examine afterwards.35 · Debugging, Testing, and Analysis
coverage-guided fuzzingFuzzing that instruments the program to see which branches an input reaches and keeps and mutates inputs that reach new code.48 · Fuzzing and Security Testing
crash minimizationShrinking a crashing input by removing bytes while the crash still occurs, so the cause is easy to see.48 · Fuzzing and Security Testing
critical sectionA region of code that accesses shared data and must be executed by only one thread at a time.41 · Concurrency and the C Memory Model
cross-compilerA compiler that runs on one architecture and produces code for a different one.49 · Embedded C and Cross-Compilation
ctagsA tool that builds an index of where identifiers are defined so an editor can jump straight to a definition.43 · Working in an Existing Codebase
ctypesThe Python module for loading shared libraries and calling their C functions.46 · ABI and Interfacing with Other Languages
dangling elseThe ambiguity in which an else attaches to the nearest unmatched if, regardless of indentation.9 · Conditional Statements
dangling pointerA pointer to memory that is no longer valid, such as a local variable of a function that has returned.13 · Introduction to Pointers
data modelThe combination of sizes the platform gives to int, long and pointers, such as LP64, LLP64 and ILP32.37 · Portability and the Machine Model
data raceUnsynchronized access to the same object by two threads where at least one writes, which is undefined behavior.41 · Concurrency and the C Memory Model
deadlockA state in which threads each hold a lock another needs, so none can proceed.41 · Concurrency and the C Memory Model
debouncingIgnoring the extra edges a mechanical switch produces while it bounces, so one press counts once.51 · Interrupts and Real-Time Behavior
debug probeA device that connects to the processor's debug unit over JTAG or SWD and presents a gdb server.55 · Embedded Debugging and Testing
declarationA statement that tells the compiler a name's type, for a function its return type and parameter types, without giving the body.3 · Program Structure, Style, and Basic Output
default promotionsThe conversions applied to variadic arguments, turning float into double and types narrower than int into int.30 · Function Pointers, Callbacks, and Generic Programming
#defineA preprocessor directive that replaces a name with text before compilation, with no type, scope or storage.5 · Variables, Types, and Constants
deprecationThe process of marking a function as obsolete with a compiler warning, and removing it only in a later major release.45 · Packaging and Distributing C Libraries
dereferencingApplying the * operator to a pointer to reach the object it points to, for reading or writing.13 · Introduction to Pointers
designated initializerA C99 initializer that names the element to set, as in [2] = 5, leaving the others zero.12 · One- and Multi-Dimensional Arrays
DESTDIRA variable that prefixes every install path so an installation can be staged into a temporary root for packaging.45 · Packaging and Distributing C Libraries
dispatch tableAn array of function pointers, often paired with names, that replaces a long switch with a lookup.30 · Function Pointers, Callbacks, and Generic Programming
do-while loopA loop that tests its condition after the body, so the body always runs at least once.10 · Loops and Flow Control
double evaluationThe effect of a macro parameter appearing twice in the body, so any side effect in the argument happens twice.28 · The Preprocessor and Modular Programming
double freeCalling free twice on the same block, which corrupts the allocator's bookkeeping.20 · Memory Errors and Their Diagnosis
doubly linked listA list whose nodes also hold a pointer to the previous node, allowing backward traversal and O(1) removal of a node already in hand.32 · Linked Data Structures
dup2The call that makes one file descriptor a copy of another, which is how redirection is done.39 · Processes, Signals, and Low-Level I/O
EAGAINThe error code a non-blocking operation sets when it cannot proceed now, meaning try again later rather than failure.47 · Event-Driven and Scalable I/O
edge-triggeredAn epoll mode that reports a descriptor only when its state changes, so the program must read until EAGAIN.47 · Event-Driven and Scalable I/O
enumA declaration of named integer constants that cost no memory and can be used where a compile-time constant is required.5 · Variables, Types, and Constants
enumerationA type defining a set of named integer constants, which lets the compiler warn about unhandled values in a switch.22 · Unions, Enumerations, and Type Aliases
environment variableA named string setting inherited from the parent process, read in C with getenv.31 · Command-Line Interfaces and the Environment
EOFThe negative value returned by input functions to signal that the input has ended.8 · Formatted Input and Output
epollA Linux interface that keeps the watched descriptor set in the kernel and returns only the descriptors that are ready.47 · Event-Driven and Scalable I/O
errnoThe variable holding the last error code set by a library function, meaningful only after a failure and to be saved immediately.27 · Error Handling Strategies
error contractA stated convention for a whole module covering what status values mean, whether outputs are written on failure and who owns what.27 · Error Handling Strategies
escape sequenceA backslash notation, such as \n or \t, that writes a single character that cannot be typed directly.3 · Program Structure, Style, and Basic Output
event loopA program structure in which one thread repeatedly asks the kernel which descriptors are ready and services only those.47 · Event-Driven and Scalable I/O
execA family of calls that replace the running program of the current process with a different one.39 · Processes, Signals, and Low-Level I/O
_ExitThe function that terminates the program immediately without running atexit handlers; whether open streams are flushed is implementation-defined.31 · Command-Line Interfaces and the Environment
exit statusThe integer that main returns to whatever launched the program, where 0 means success and non-zero means failure.3 · Program Structure, Style, and Basic Output
EXIT_FAILUREThe macro from stdlib.h naming an implementation-defined non-zero exit status that means failure.3 · Program Structure, Style, and Basic Output
EXIT_SUCCESSThe macro from stdlib.h naming the exit status that means success.3 · Program Structure, Style, and Basic Output
externThe keyword that declares a variable defined elsewhere, so a header can declare it while exactly one source file defines it.28 · The Preprocessor and Modular Programming
extern "C"A C++ linkage specification that makes declarations use C naming and calling conventions so they match a C library.46 · ABI and Interfacing with Other Languages
external linkageA name that other translation units can refer to, the default for file-scope functions and variables.28 · The Preprocessor and Modular Programming
fall-throughContinued execution from one case label into the following ones because a case is a jump target, not a block, until a break.9 · Conditional Statements
feofThe function that reports whether a previous read has already reached end of file, so it cannot be used as a loop condition.26 · Files and Streams
FFI (foreign function interface)A mechanism by which a program in one language calls functions written in another, usually using the C calling convention.46 · ABI and Interfacing with Other Languages
fflushThe function that forces buffered output to be written out, for example so a prompt appears before input is awaited.8 · Formatted Input and Output
fgetsThe function that reads at most one line into a buffer, always terminates the string, and returns NULL at end of input.23 · Program Arguments and Input
FILEThe type of the buffered stream handle through which all standard file operations are performed.26 · Files and Streams
file descriptorA small non-negative integer that indexes a process's table of open files, with 0, 1 and 2 for stdin, stdout and stderr.39 · Processes, Signals, and Low-Level I/O
fixed-point arithmeticRepresenting fractions as integers with an implied binary point, avoiding floating-point hardware or library code.53 · Constrained-Resource Programming
fixed-size recordA record of constant size, so the nth one starts at offset n times the size and can be reached directly with fseek.26 · Files and Streams
fixed-width integer typesTypes such as int32_t and uint8_t from stdint.h whose size in bits is exactly specified.37 · Portability and the Machine Model
for loopA counted loop that puts initialization, condition and update in one header.10 · Loops and Flow Control
forkThe system call that duplicates the calling process, returning the child's pid in the parent and 0 in the child.39 · Processes, Signals, and Low-Level I/O
format string vulnerabilityA flaw caused by passing user input as the format of printf, letting specifiers such as %n read or write memory.36 · Undefined Behavior and Secure Coding
-fPICThe compiler option that produces position-independent code, required for shared libraries because they may be loaded at any address.29 · Building Programs and Libraries
fragmentationFree memory split into pieces too small to satisfy a request, even though the total free memory would be enough.53 · Constrained-Resource Programming
freeThe function that returns a heap block to the allocator; free(NULL) is defined to do nothing.19 · Dynamic Memory Allocation
freestanding environmentA C implementation that guarantees only the language and a few headers and does not provide main as entry point, printf or malloc.49 · Embedded C and Cross-Compilation
fseekThe function that moves a stream's position to a given offset from the start, the current position or the end.26 · Files and Streams
function definitionA function declaration that also supplies the body, of which a program may contain only one per function.11 · Functions
function pointerA pointer that holds the address of a function and can be used to call it.30 · Function Pointers, Callbacks, and Generic Programming
function prototypeA declaration giving a function's return and parameter types so the compiler can check calls against them.2 · History, Standards, and the Compilation Model
function-like macroA macro with parameters that the preprocessor expands as text, so its body and parameters need parentheses.28 · The Preprocessor and Modular Programming
fuzz targetThe function that feeds fuzzer-generated bytes to the code under test and must be deterministic, fast and free of leftover state.48 · Fuzzing and Security Testing
-fvisibility=hiddenA compiler option that hides all symbols by default so that only those explicitly marked are exported from a shared library.45 · Packaging and Distributing C Libraries
GDBThe GNU debugger, used to run a program under control, set breakpoints, step through code and inspect state.35 · Debugging, Testing, and Analysis
_GenericA C11 selection expression that chooses one of several expressions at compile time according to the type of a controlling expression.30 · Function Pointers, Callbacks, and Generic Programming
getaddrinfoThe function that resolves a host name and service into ready-to-use socket address structures for IPv4 and IPv6.40 · Network Programming with Sockets
getcharThe function that reads one character from standard input and returns it as an int so EOF can be distinguished.8 · Formatted Input and Output
getoptThe POSIX function that parses command-line options, handling combined flags, attached arguments and the -- separator.31 · Command-Line Interfaces and the Environment
git bisectA Git command that binary-searches the commit history to find the first commit that introduced a bug.43 · Working in an Existing Codebase
gotoA statement that jumps to a label in the same function, still used for leaving nested loops and for error-path cleanup.10 · Loops and Flow Control
goto cleanup idiomA single cleanup label that every failure path jumps to, releasing resources that were initialized to NULL and so giving one exit per function.27 · Error Handling Strategies
half-open rangeA range written [0, n) that includes its first value and excludes its last, the canonical form of a C loop.10 · Loops and Flow Control
hardware abstraction layer (HAL)A boundary between logic and hardware access that lets the logic run on a host with a fake hardware layer.55 · Embedded Debugging and Testing
hardware breakpointA breakpoint implemented by the processor's comparators, needed for code in flash and limited in number.55 · Embedded Debugging and Testing
hash tableA structure that converts a key to an array index with a hash function so lookup costs one computation and one access on average.33 · Trees, Hash Tables, and Abstract Data Types
header fileA text file of declarations that #include pastes into a source file so the compiler knows library names.3 · Program Structure, Style, and Basic Output
heapThe region of memory from which a program requests blocks at run time and which it must give back itself.19 · Dynamic Memory Allocation
heap overrunReading or writing past the end of a heap block, typically damaging a neighboring value or the allocator's metadata.20 · Memory Errors and Their Diagnosis
hexadecimalBase-16 notation in which each digit stands for exactly four bits, making it a compact way to write bit patterns.4 · Data Representation
hosted environmentA C implementation that calls main for you and provides the whole standard library.49 · Embedded C and Cross-Compilation
identifierA name for a variable, function or other entity, made of letters, digits and underscores and not starting with a digit.5 · Variables, Types, and Constants
IEEE 754The standard that stores a floating-point number as a sign, an exponent and a fraction (mantissa) field.4 · Data Representation
implementation-defined behaviorBehavior that the standard leaves to the implementation, which must choose one result and document it.36 · Undefined Behavior and Secure Coding
implicit conversionA type conversion the compiler performs automatically in expressions, assignments, argument passing and returns.7 · Type Conversions
implicit intThe old rule that a missing type means int, no longer valid since C99.56 · Maintaining Long-Lived C Codebases
include guardAn #ifndef/#define/#endif wrapper that makes a header's body be processed only once per translation unit.28 · The Preprocessor and Modular Programming
inline assemblyMachine instructions written directly inside C source, for operations that C cannot express.46 · ABI and Interfacing with Other Languages
input bufferThe area where a stream collects typed characters until a line is complete, so unconsumed characters stay for the next read.8 · Formatted Input and Output
integer divisionDivision of two integers, which discards the fractional part by truncating the result toward zero.6 · Operators and Expressions
integer overflowA result too large for its type: for signed types it is undefined behavior, unsigned types wrap around, and in a size calculation it can cause a too-small allocation.36 · Undefined Behavior and Secure Coding
integer promotionThe conversion of operands smaller than int, such as char and short, to int before arithmetic.7 · Type Conversions
internal linkageA name, declared static at file scope, that cannot be referred to from any other translation unit.28 · The Preprocessor and Modular Programming
interpreterA program that reads source code and carries out its meaning directly, statement by statement, each time the program runs.1 · Computers, Programs, and the C Toolchain
interruptA hardware signal that makes the processor suspend the running code, run a handler and then resume.51 · Interrupts and Real-Time Behavior
interrupt latencyThe time from the hardware event to the first instruction of its handler, including waiting for higher-priority handlers and critical sections.51 · Interrupts and Real-Time Behavior
intrinsicA compiler-provided function that maps to a specific machine instruction while still letting the optimizer schedule and inline it.46 · ABI and Interfacing with Other Languages
intrusive listA list in which the link fields are embedded in the elements themselves, as in the Linux kernel's list_head, so no allocation per link is needed.42 · Reading Excellent C
invalid freeCalling free on a pointer that did not come from malloc, calloc or realloc, or that is not the exact value returned.20 · Memory Errors and Their Diagnosis
ISR (interrupt service routine)The function that runs in response to an interrupt, an ordinary C function on Cortex-M that should do the minimum and return.51 · Interrupts and Real-Time Behavior
K&R CThe early dialect of C described by Kernighan and Ritchie's 1978 book, before any formal standard existed.2 · History, Standards, and the Compilation Model
K&R-style definitionAn old function definition that lists parameter names first and declares their types afterward, which gives no call-site type checking.56 · Maintaining Long-Lived C Codebases
KEEPA linker script directive that prevents unreferenced sections, such as the vector table, from being discarded by garbage collection.52 · Linker Scripts and Firmware Memory Layout
Kernighan's methodA bit-counting loop that uses v &= v - 1 to clear the lowest set bit, so it runs once per set bit.25 · Bit-Level Operations
language serverA tool such as clangd that understands the code's syntax and meaning, so it finds definitions and references exactly rather than by text match.43 · Working in an Existing Codebase
language standardThe formal definition of C that a compiler is asked to follow, chosen with an option such as -std=.2 · History, Standards, and the Compilation Model
layered configurationA design in which defaults, a configuration file, environment variables and command-line options are applied in that order, each overriding the last.31 · Command-Line Interfaces and the Environment
length modifierA part of a conversion specification, such as l, ll or z, that states the size of the argument type.8 · Formatted Input and Output
length prefixA fixed-size number placed before a payload to tell the receiver how many bytes follow, which must be bounded before use.40 · Network Programming with Sockets
level-triggeredAn epoll mode that keeps reporting a descriptor as ready for as long as data remains unread.47 · Event-Driven and Scalable I/O
libFuzzerA fuzzing engine shipped with Clang that calls a user-written function, LLVMFuzzerTestOneInput, with generated inputs.48 · Fuzzing and Security Testing
limits.hThe header that defines the ranges of the integer types as constants such as INT_MAX, so a program can query its own machine.5 · Variables, Types, and Constants
linked listA sequence of nodes, each holding data and the address of the next, ending with a NULL pointer.32 · Linked Data Structures
linkerThe program that combines object files and libraries, resolves every undefined symbol and writes one executable.2 · History, Standards, and the Compilation Model
linker scriptA file that tells the linker which memory regions exist and where each section is placed.52 · Linker Scripts and Firmware Memory Layout
linker symbolA name defined in a linker script that has an address but no storage, so C code must take its address.52 · Linker Scripts and Firmware Memory Layout
linking orderThe rule that a traditional linker processes arguments left to right and takes library members only for symbols already undefined, so libraries must follow the objects that use them.29 · Building Programs and Libraries
literalA value written directly in the source code, whose type is decided by how it is written.5 · Variables, Types, and Constants
little-endianA byte order that stores the least significant byte at the lowest address.37 · Portability and the Machine Model
-lmThe linker option that links the math library, needed on Linux and placed after the source files.24 · The Standard Library Toolbox
load address (LMA)The address where a section is stored in the image, for example flash for .data.52 · Linker Scripts and Firmware Memory Layout
load factorThe number of entries in a hash table divided by its number of buckets.33 · Trees, Hash Tables, and Abstract Data Types
lock orderingA rule that every mutex has a rank and all threads acquire locks in increasing rank, preventing deadlock.41 · Concurrency and the C Memory Model
logical shiftA right shift that fills the vacated bits with zeros.25 · Bit-Level Operations
longjmpThe function that restores state saved by setjmp, abandoning the intervening stack frames without running any cleanup.38 · Type Qualifiers, Inlining, and Modern C
loop invariantA statement that is true before a loop starts and after every iteration, and so also when it ends.10 · Loops and Flow Control
machine codeThe numeric encoding of instructions that a particular processor can execute directly.1 · Computers, Programs, and the C Toolchain
main memory (RAM)A long numbered list of bytes, each with an address, that holds a running program's instructions and data.1 · Computers, Programs, and the C Toolchain
MakefileA file of rules, each naming a target, its prerequisites and the commands that rebuild it, which Make runs only when a prerequisite is newer.29 · Building Programs and Libraries
mallocThe function that allocates a block of the given number of bytes with uninitialized contents, returning NULL on failure.19 · Dynamic Memory Allocation
map fileA linker report showing which object files contributed which bytes at which addresses.52 · Linker Scripts and Firmware Memory Layout
maskA value whose set bits select the bits of another value to set, clear, toggle or test.25 · Bit-Level Operations
memcpyThe function that copies bytes between regions that must not overlap.14 · Strings and Character Handling
memmoveThe function that copies bytes and handles overlapping source and destination regions correctly.14 · Strings and Character Handling
memoizationRemembering the results of earlier calls so the same subproblem is not computed again.18 · Recursion
memory leakA heap block that was allocated and never freed, so memory use grows until allocation eventually fails.20 · Memory Errors and Their Diagnosis
memory orderThe ordering guarantee an atomic operation gives about how one thread's memory operations are seen by others.41 · Concurrency and the C Memory Model
memory-mapped I/OA scheme in which hardware registers appear at addresses in the normal address space and are accessed like memory.50 · Memory-Mapped I/O and Hardware Registers
mergeA Git operation that joins two branches with a merge commit, preserving the true history.44 · Collaborative Development and Code Review
message framingImposing message boundaries on a byte stream, for example with a delimiter or a length prefix.40 · Network Programming with Sockets
minimal changeA fix limited to what the defect requires, with no reformatting or cleanup mixed in, so it is easy to review, revert and backport.43 · Working in an Existing Codebase
-MMD -MPCompiler options that write a dependency file listing the headers each source includes, so Make rebuilds files when a header changes.29 · Building Programs and Libraries
modulo biasThe slight excess of low values when rand() % n is used and RAND_MAX + 1 is not a multiple of n.24 · The Standard Library Toolbox
mutexA lock ensuring only one thread at a time is inside a critical section and ordering the memory effects between threads.41 · Concurrency and the C Memory Model
name manglingThe encoding of parameter types into a function's symbol name, which C++ uses to support overloading.46 · ABI and Interfacing with Other Languages
NaNThe special floating-point value, Not a Number, produced by undefined operations such as 0.0/0.0, which is not equal even to itself.4 · Data Representation
NDEBUGThe macro that, when defined, removes every assert from the compiled code.27 · Error Handling Strategies
newlibA small C library for embedded targets whose printf links but calls a _write function that the programmer must supply.49 · Embedded C and Cross-Compilation
nmA tool that lists the symbols of an object file or library, showing whether each is defined, undefined, local or external.29 · Building Programs and Libraries
nodeA structure in a linked data structure that holds an element together with the pointers linking it to other nodes.32 · Linked Data Structures
non-blocking descriptorA file descriptor on which operations that would have to wait return immediately with EAGAIN instead of suspending the caller.47 · Event-Driven and Scalable I/O
_NoreturnA function specifier declaring that the function never returns to its caller.38 · Type Qualifiers, Inlining, and Modern C
NULLThe macro for a null pointer constant; a null pointer compares unequal to a pointer to any object and is used to mean no object.13 · Introduction to Pointers
null terminatorThe character '\0', with value zero, that marks the end of a C string.14 · Strings and Character Handling
NVICThe Cortex-M interrupt controller that enables interrupts and sets their priorities.51 · Interrupts and Real-Time Behavior
object fileA binary file of real machine instructions produced by the assembler, in which calls to outside functions are still unresolved.2 · History, Standards, and the Compilation Model
off-by-one errorA bug in which a loop runs one iteration too many or too few, often by mishandling the first element, last element or empty case.10 · Loops and Flow Control
one-past-the-end pointerA pointer to the position just after the last element of an array; it may be formed and compared but never dereferenced.15 · Pointer Arithmetic and Arrays
opaque pointerA pointer to a structure declared in a header but defined only in the source file, hiding its layout from callers.28 · The Preprocessor and Modular Programming
optimization levelA compiler option such as -O0, -O2 or -Os that sets how aggressively the compiler transforms the code.34 · Performance and Memory Layout
optindThe getopt variable holding the index of the next argument to process, which after parsing is the first operand.31 · Command-Line Interfaces and the Environment
-OsA compiler option that optimizes for small code size rather than speed.53 · Constrained-Resource Programming
output parameterA pointer parameter through which a function writes a result, letting the return value report success or failure.11 · Functions
ownershipThe rule stating which part of the program is responsible for freeing an allocated block, which an interface must make explicit.19 · Dynamic Memory Allocation
pass by valueThe rule that C copies each argument into the parameter, so a function cannot change the caller's variable.11 · Functions
perrorThe function that prints a message followed by the system's description of the current errno value to stderr.26 · Files and Streams
pipeA one-way channel between two file descriptors, used to connect processes.39 · Processes, Signals, and Low-Level I/O
pipelineA chain of programs in which the standard output of each is connected to the standard input of the next.23 · Program Arguments and Input
pkg-configA tool that reads a library's .pc file to supply the compiler and linker flags needed to use it.45 · Packaging and Distributing C Libraries
pointerA variable that holds the address of another object, declared with * and given a type that decides how it is read.13 · Introduction to Pointers
pointer arithmeticAdding an integer to a pointer or subtracting one from it, which moves the pointer by whole elements of the pointed-to type, not by bytes.15 · Pointer Arithmetic and Arrays
pointer to an arrayA single pointer to a whole array, declared like int (*a)[5], where the parentheses make the asterisk apply first.15 · Pointer Arithmetic and Arrays
pointer to pointerA pointer that holds the address of another pointer, declared with two asterisks, as in int **pp.15 · Pointer Arithmetic and Arrays
pollA POSIX call that waits on an array of descriptors with no fixed limit, but whose cost per call grows with the number of descriptors.47 · Event-Driven and Scalable I/O
pool allocatorAn allocator handing out fixed-size blocks from a free list, giving constant-time allocation and no fragmentation.53 · Constrained-Resource Programming
popcountThe number of bits set to 1 in a value.25 · Bit-Level Operations
post-order traversalA traversal that visits both subtrees before the node itself, which makes it the safe order for freeing a tree.33 · Trees, Hash Tables, and Abstract Data Types
postconditionA condition that a function guarantees about its results and effects when it returns, and that callers rely on.43 · Working in an Existing Codebase
precedenceThe rule deciding which operator binds more tightly in an expression, and therefore how it is grouped.6 · Operators and Expressions
preconditionA condition that must hold when a function is entered for it to behave correctly.43 · Working in an Existing Codebase
preemptive schedulerA scheduler that interrupts the running task as soon as a higher-priority task becomes ready.54 · Real-Time Operating Systems
prefetchingHardware fetching memory ahead of use after detecting a sequential access pattern.34 · Performance and Memory Layout
preprocessorThe first translation stage, a text manipulator that pastes in included files, substitutes macros and removes comments.2 · History, Standards, and the Compilation Model
priority inheritanceA mechanism in which a mutex owner temporarily takes the priority of a higher-priority task waiting for it.54 · Real-Time Operating Systems
priority inversionA situation where a high-priority task waits on a lock held by a low-priority task that a medium-priority task keeps from running.54 · Real-Time Operating Systems
profilingMeasuring where a running program spends its time, for example with perf or gprof, instead of guessing.34 · Performance and Memory Layout
programmer errorA bug such as a null pointer passed where forbidden, handled with an assertion rather than runtime recovery.27 · Error Handling Strategies
pseudo-random numberA number produced by a deterministic generator such as rand, predictable from a few outputs and unsuitable for security.24 · The Standard Library Toolbox
ptrdiff_tThe signed integer type from <stddef.h> that holds the result of subtracting two pointers into the same array.15 · Pointer Arithmetic and Arrays
public headerA header installed for users of a library, whose every declaration is a promise about the library's interface.45 · Packaging and Distributing C Libraries
pull requestA proposed change submitted for review, made up of a title, a description and a diff.44 · Collaborative Development and Code Review
Q16.16A 32-bit fixed-point format with 16 bits for the integer part and 16 bits for the fraction.53 · Constrained-Resource Programming
qsortThe standard library function that sorts an array of any element type using a comparator supplied by the caller.30 · Function Pointers, Callbacks, and Generic Programming
queueA first-in, first-out container with enqueue at the tail and dequeue at the head.32 · Linked Data Structures
read-modify-writeReading a register, changing only the intended bits and writing the value back so the other bits are preserved.50 · Memory-Mapped I/O and Hardware Registers
real-timeBehavior in which responses are predictable and always within a deadline, rather than merely fast on average.54 · Real-Time Operating Systems
reallocThe function that grows or shrinks a block, preserving its contents; it may move the block, leaving old pointers dangling.19 · Dynamic Memory Allocation
rebaseA Git operation that replays your commits on top of another branch to give a linear history, which rewrites those commits.44 · Collaborative Development and Code Review
recursionA function calling itself, suited to problems that contain a smaller copy of themselves; each call adds a stack frame.18 · Recursion
recursive caseThe branch of a recursive function that calls itself on input strictly closer to the base case.18 · Recursion
reentrant functionA function that keeps no shared static state, with the caller supplying any buffer, so threads can call it concurrently.41 · Concurrency and the C Memory Model
refactoringChanging a program's structure in small, test-verified steps without changing its behavior.56 · Maintaining Long-Lived C Codebases
registerA very fast storage slot inside the processor that holds a value the processor is working with right now.1 · Computers, Programs, and the C Toolchain
register overlayA struct type laid over a peripheral's address so that its members correspond to the hardware registers.50 · Memory-Mapped I/O and Hardware Registers
regressionA defect in behavior that worked correctly in an earlier version of the software.43 · Working in an Existing Codebase
rehashingRecomputing every entry's bucket after the table grows, because each index depends on the bucket count.33 · Trees, Hash Tables, and Abstract Data Types
relative toleranceA comparison margin that scales with the size of the values, used instead of == to compare floating-point numbers.7 · Type Conversions
remainder operator (%)The integer operator whose result takes the sign of the dividend, so it is not a mathematical modulo.6 · Operators and Expressions
reserved bitsRegister bits whose meaning is not defined and which should be written back as they were read.50 · Memory-Mapped I/O and Hardware Registers
reset handlerThe code that runs at power-on, initializing .data and .bss before calling main.49 · Embedded C and Cross-Compilation
restrictA qualifier promising that the object a pointer reaches is accessed through no other pointer in that scope.36 · Undefined Behavior and Secure Coding
right-left ruleA procedure for reading a C declaration by starting at the identifier and alternating right and left while obeying parentheses.16 · Pointers as Function Parameters
ring bufferA fixed-size circular queue with a head and tail index, which needs no lock with exactly one producer and one consumer.51 · Interrupts and Real-Time Behavior
row-major orderThe layout of a two-dimensional array in which each complete row is stored after the previous one in contiguous memory.12 · One- and Multi-Dimensional Arrays
RTOS (real-time operating system)A small operating system whose scheduler gives each task its own stack and runs tasks according to priority.54 · Real-Time Operating Systems
sanitizerA compiler-inserted runtime check, such as -fsanitize=undefined or address, that reports errors as the program runs.36 · Undefined Behavior and Secure Coding
scanfThe function that reads formatted input into variables whose addresses it is given and returns the number of items assigned.8 · Formatted Input and Output
scopeThe part of the program in which a name is visible, such as block scope or file scope.17 · Scope, Lifetime, and Program Memory Layout
seed corpusA set of valid example inputs given to a fuzzer so it need not rediscover the input format.48 · Fuzzing and Security Testing
selectA POSIX call that waits on a set of descriptors, limited by FD_SETSIZE and costing time proportional to the set size on every call.47 · Event-Driven and Scalable I/O
self-pipe trickA technique in which a signal handler writes one byte to a pipe so the event loop sees the signal as an ordinary readable event.47 · Event-Driven and Scalable I/O
self-referential structureA structure that contains a pointer to its own type, which is the basis of linked data structures.21 · Structures
semantic versioningA MAJOR.MINOR.PATCH numbering scheme in which the part that changes tells consumers whether they must adapt their code.44 · Collaborative Development and Code Review
semihostingA debugging facility that lets the target use host services such as console output through an attached debugger, at high cost in time.55 · Embedded Debugging and Testing
sentinel nodeA permanent dummy node that closes a circular list so every real node always has both neighbors and no null checks are needed.32 · Linked Data Structures
sequence pointA point in evaluation at which all earlier side effects are complete and no later ones have begun.6 · Operators and Expressions
setjmpThe function that records the machine state so that a later longjmp can jump back to it.38 · Type Qualifiers, Inlining, and Modern C
shadowingAn inner declaration hiding an outer one of the same name, which the compiler reports only with -Wshadow.17 · Scope, Lifetime, and Program Memory Layout
shared libraryA library kept in a separate file and loaded at run time, so many programs can use one copy.29 · Building Programs and Libraries
short-circuit evaluationThe guarantee that && and || skip the right operand when the left one already settles the result.6 · Operators and Expressions
sig_atomic_tThe integer type that can be read and written atomically with respect to a signal handler, used with volatile for flags.39 · Processes, Signals, and Low-Level I/O
signalAn asynchronous notification delivered to a process, whose handler runs at an arbitrary point in the program.39 · Processes, Signals, and Low-Level I/O
SIGPIPEThe signal sent when writing to a connection the peer has closed, which terminates the process by default.40 · Network Programming with Sockets
size_tThe unsigned integer type, produced by sizeof, that is large enough to hold the size of any object.5 · Variables, Types, and Constants
sizeofThe compile-time operator that gives the size in bytes of a type or object, as a value of type size_t.5 · Variables, Types, and Constants
snprintfThe function that writes at most a given number of bytes, always terminates, and returns the length it would have needed.14 · Strings and Character Handling
SO_REUSEADDRA socket option that lets a server rebind its address while the old one is still in TIME_WAIT.40 · Network Programming with Sockets
socketAn endpoint for network communication, represented by a file descriptor.40 · Network Programming with Sockets
sonameThe name recorded in a shared library and in programs linked against it, containing only the major version, which the dynamic loader uses to find the library.45 · Packaging and Distributing C Libraries
spurious wakeupA return from a condition wait without the condition being true, which is why the wait must sit in a loop.41 · Concurrency and the C Memory Model
srandThe function that seeds the pseudo-random generator, to be called once at program start.24 · The Standard Library Toolbox
stackA last-in, first-out container supporting push and pop at one end.32 · Linked Data Structures
stack frameThe block of stack memory created for one function call, holding its parameters, local variables and return address and discarded on return.17 · Scope, Lifetime, and Program Memory Layout
stack overflowThe fatal failure that occurs when the stack grows past its fixed limit, usually from deep recursion or a large local array.17 · Scope, Lifetime, and Program Memory Layout
stack paintingFilling the stack with a known pattern at startup so the high-water mark can be found later.52 · Linker Scripts and Firmware Memory Layout
starvationA condition in which a high-priority task that never blocks prevents lower-priority tasks from ever running.54 · Real-Time Operating Systems
static analysisExamining a program without running it to find errors on paths that tests may never take, as GCC's -fanalyzer does.35 · Debugging, Testing, and Analysis
static functionA function marked static so that its name is visible only within the current source file.11 · Functions
static inlineA function definition, usually in a header, that gives each translation unit its own inlinable copy and avoids multiple-definition errors.38 · Type Qualifiers, Inlining, and Modern C
static libraryAn archive of object files from which the linker copies the members it needs into the executable.29 · Building Programs and Libraries
static localA variable declared static inside a function: its name is visible only there, but it lives for the whole run and keeps its value between calls.17 · Scope, Lifetime, and Program Memory Layout
static_assertA compile-time check of a condition, costing nothing at run time and impossible to disable.27 · Error Handling Strategies
status returnA return value that only reports success or failure, while the actual result is delivered through an output parameter.16 · Pointers as Function Parameters
-std=The compiler option that selects the language standard, such as c17, so that the meaning of the source is not left to the default.2 · History, Standards, and the Compilation Model
stderrThe standard error stream, a separate output channel for diagnostics so results sent to stdout can be redirected cleanly.8 · Formatted Input and Output
storage durationHow long an object exists: automatic, static, allocated or thread, which is independent of where its name is visible.17 · Scope, Lifetime, and Program Memory Layout
strcmpThe function that compares two strings and returns 0 when they are equal, a result opposite to a boolean.14 · Strings and Character Handling
strict aliasingThe rule that an object may be accessed only through an lvalue of a compatible type, with char as the exception.36 · Undefined Behavior and Secure Coding
stringA sequence of characters ending in the null character, with its length recorded nowhere.14 · Strings and Character Handling
string literalText in double quotes that the compiler stores as a null-terminated array; modifying it is undefined behavior, so it is usually placed in read-only memory.14 · Strings and Character Handling
strncpyA bounded copy function that does not write a terminator when the source fills the bound, so it is not a safe strcpy.14 · Strings and Character Handling
strtokThe function that splits a string into tokens by writing terminators into it and keeping hidden static state.14 · Strings and Character Handling
strtok_rA reentrant version of strtok that keeps its position in a caller-supplied variable instead of hidden static state.44 · Collaborative Development and Code Review
strtolThe conversion function that parses a long and reports failure through its end pointer and errno.23 · Program Arguments and Input
struct tagThe name written after the struct keyword, required inside a self-referential definition because the typedef name does not exist yet.21 · Structures
structureA type that groups members of different types under one name and can be assigned, copied, passed and returned by value.21 · Structures
structure of arraysA layout that stores each field in its own array so a loop touching one field uses only the cache lines it needs.34 · Performance and Memory Layout
structure paddingUnnamed bytes the compiler inserts between or after members to satisfy alignment, whose contents are unspecified.22 · Unions, Enumerations, and Type Aliases
superloopA design in which all tasks run in one endless loop in sequence, so each task's response time is the sum of the others.54 · Real-Time Operating Systems
switchA statement that compares one integer expression against a list of constant case labels and jumps to the matching one.9 · Conditional Statements
tagged unionA union paired with an enumeration, inside a structure, that records which member is currently valid.22 · Unions, Enumerations, and Type Aliases
tail callA call whose result is returned directly with nothing left to do afterwards; a compiler may reuse the frame, but C does not require it.18 · Recursion
target tripleThe prefix naming a toolchain's target, such as arm-none-eabi, which gives architecture, vendor or operating system, and ABI.49 · Embedded C and Cross-Compilation
TCPA reliable, ordered, connection-based stream protocol that does not preserve message boundaries.40 · Network Programming with Sockets
technical debtAccumulated shortcuts and poor structure in code, worth repaying only according to change frequency, danger, what it blocks and the risk of fixing.56 · Maintaining Long-Lived C Codebases
termination argumentThe demonstration that some quantity strictly decreases on every recursive call and is bounded below, so the recursion must end.18 · Recursion
test case reductionShrinking a failing input step by step to the smallest one that still fails.35 · Debugging, Testing, and Analysis
threadAn independent flow of execution that shares the heap, globals and file descriptors of its process but has its own stack.41 · Concurrency and the C Memory Model
_Thread_localA storage class giving each thread its own copy of a variable.41 · Concurrency and the C Memory Model
threat modelingAsking what is worth protecting, where untrusted input enters, what can go wrong and what stops it, before writing the code.48 · Fuzzing and Security Testing
time_tThe type holding calendar time, normally seconds since the epoch, as returned by time.24 · The Standard Library Toolbox
trace bufferA circular array in RAM of timestamped events that is read afterwards and perturbs timing very little.55 · Embedded Debugging and Testing
tree traversalVisiting all nodes of a tree in a set order: in-order, pre-order or post-order.33 · Trees, Hash Tables, and Abstract Data Types
trust boundaryThe point where untrusted data enters a program and where it must be validated once, so inner code can assume it is well formed.48 · Fuzzing and Security Testing
two's complementThe signed integer representation in which the most significant bit has a negative weight, giving one zero and shared add and subtract hardware.4 · Data Representation
type punningReading a value's bytes as a different type, commonly done by writing one union member and reading another.22 · Unions, Enumerations, and Type Aliases
typedefA declaration that gives an existing type a new name without creating a new type.22 · Unions, Enumerations, and Type Aliases
UARTA peripheral that sends and receives serial data one byte at a time.50 · Memory-Mapped I/O and Hardware Registers
UDPA connectionless protocol that preserves datagram boundaries but may lose, duplicate or reorder them.40 · Network Programming with Sockets
undefined behaviorBehavior for which the standard imposes no requirements at all, so the compiler may assume it never occurs.36 · Undefined Behavior and Secure Coding
undefined referenceA linker error reporting that a function or variable was used but no definition of it could be found.1 · Computers, Programs, and the C Toolchain
uninitialized variableA local variable declared without a value, which holds arbitrary leftover bytes and whose use is undefined behavior.5 · Variables, Types, and Constants
unionA type whose members share the same storage, so its size is that of its largest member and only one member is valid at a time.22 · Unions, Enumerations, and Type Aliases
unit testA small test that checks one piece of code, such as a function, against expected results.35 · Debugging, Testing, and Analysis
unspecified behaviorBehavior for which the standard allows several possibilities without requiring that the choice be documented.36 · Undefined Behavior and Secure Coding
use after freeAccessing a block through a pointer after it has been freed, which may read stale data or corrupt another object.20 · Memory Errors and Their Diagnosis
usual arithmetic conversionsThe rules that bring both operands of a binary operator to a common type, converting the signed operand to unsigned when ranks are equal.7 · Type Conversions
UTF-8A Unicode encoding using one to four bytes per code point that leaves ASCII unchanged.37 · Portability and the Machine Model
ValgrindA tool that runs an unmodified binary under emulation to detect memory errors, including reads of uninitialized memory, at a large slowdown.20 · Memory Errors and Their Diagnosis
variable-length array (VLA)An array whose size is determined at run time, placed on the stack with no way to detect failure.38 · Type Qualifiers, Inlining, and Modern C
variadic functionA function such as printf that takes a variable number of arguments and receives no type information about the extra ones.8 · Formatted Input and Output
vector tableA table of addresses in flash that the processor reads at reset and on exceptions, starting with the initial stack pointer and reset handler.49 · Embedded C and Cross-Compilation
version scriptA linker file that lists which symbols a shared library exports and makes all others local.45 · Packaging and Distributing C Libraries
virtual address (VMA)The address where a section is located when the program runs, for example RAM for .data.52 · Linker Scripts and Firmware Memory Layout
void *A pointer with its type removed that can hold any object pointer but cannot be dereferenced until converted.13 · Introduction to Pointers
volatileA qualifier telling the compiler that an object may change by means it cannot see, so every access must really happen.38 · Type Qualifiers, Inlining, and Modern C
waitThe call by which a parent collects a child's exit status, so the child no longer remains a zombie.39 · Processes, Signals, and Low-Level I/O
warningA compiler message about code that is legal but probably wrong; unlike an error, it does not stop the build.1 · Computers, Programs, and the C Toolchain
watchdogA hardware timer that resets the device unless the software periodically feeds it, restarting a hung program.53 · Constrained-Resource Programming
watchpointA debugger setting that stops the program when the value of a given variable changes.35 · Debugging, Testing, and Analysis
wfiThe instruction that halts the core until an interrupt arrives, saving power.53 · Constrained-Resource Programming
while loopA loop that tests its condition before each iteration, so the body may never run.10 · Loops and Flow Control
wild pointerAn uninitialized pointer that holds an arbitrary address, so writing through it corrupts memory.13 · Introduction to Pointers
wire formatA binary layout with fixed widths, offsets and byte order so data can move between machines unchanged.37 · Portability and the Machine Model
write-one-to-clear (W1C)A register bit type cleared by writing a 1 to it, so a read-modify-write would clear other pending flags.50 · Memory-Mapped I/O and Hardware Registers
zombie processA child that has finished but whose exit status has not yet been collected by its parent.39 · Processes, Signals, and Low-Level I/O

Course page: Operating Systems · © Sercan Külcü. All rights reserved.