DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Shared libraries

Include routines the library itself needs

Make the library self-contained. For example, printf(S) requires much of the standard I/O library. A shared library containing printf should contain the rest of the standard I/O routines, too.


NOTE: This guideline should not take priority over the others in this section. If you exclude some routine that the library itself needs based on a previous guideline, consider leaving the symbol out of the library and importing it.


Next topic: Changing existing code for the shared library
Previous topic: Exclude routines that complicate maintenance

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003