Programming Tools Guide
Chapter 14, Shared libraries

Include large, frequently used routines

Include large, frequently used routines

Large, frequently used routines are prime candidates for sharing. Placing them in a shared library saves code space for individual a.out files and saves memory, too, when several concurrent processes need the same code. printf(S) and related C library routines are good examples.


NOTE: Since the printf family of routines is used frequently, printf and related routines in to the shared C library.