Code Samples From <C Interfaces and Implementations: Techniques for Creating Reusable Software>