liveBook · Manning

External linkage

External linkage is the property that allows declarations in different translation units to designate the same entity.

How 2 Manning books explain it

Modern C, Third Edition

External linkage is the property allowing declarations in different translation units to designate the same C entity.

How it is used
Coordinates references to shared C objects and functions across object files during linking.
How deep it goes
Explains cross-file identity, linker correspondence, extern ambiguity, and contrast with internal linkage, without detailing linker mechanics.
Examples
Uses a shadowed global unsigned object, a block-scope extern declaration, and output distinguishing the existing object from a local one.
What you can do after
Evaluate whether declarations across object files can designate one shared object or function and distinguish extern from linkage.

Read how Modern C, Third Edition explains external linkage →

Modern C

External linkage is C identifier linkage that allows declarations in different translation units to designate the same object or function.

How it is used
Coordinates declarations across object files so programs access the same objects or functions.
How deep it goes
Distinguishes identifier linkage from object properties and contrasts external, internal, and absent linkage without extensive linker mechanics.
Examples
Uses a shadowing example with a file-scope variable and a block-scope extern declaration.
What you can do after
Evaluate/understand whether declarations designate one shared object or separate objects across scopes and object files.

Read how Modern C explains external linkage →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.